FieldDataConversionException.php 608 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\DB;
  7. /**
  8. * Class FieldDataConversionException
  9. */
  10. class FieldDataConversionException extends \Exception
  11. {
  12. /**
  13. * Message pattern for corrupted data exception
  14. */
  15. const MESSAGE_PATTERN = "Error converting field `%s` in table `%s` where `%s`=%s using %s."
  16. . PHP_EOL
  17. . "Fix data or replace with a valid value."
  18. . PHP_EOL
  19. . "Failure reason: '%s'";
  20. }