Skip to content

Commit

Permalink
Merge pull request #23 from liip/cleanup-message
Browse files Browse the repository at this point in the history
cleanup exception message to be consistent
  • Loading branch information
dbu authored May 25, 2021
2 parents 82efeea + 73dfad4 commit eabbb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exception/UnsupportedTypeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class UnsupportedTypeException extends Exception
{
private const UNSUPPORTED_TYPE_DESERIALIZATION = 'Type "%s" is not known. This most likely means that you forgot to configure the generators to support this file, or that the generators did not run.';

private const UNSUPPORTED_TYPE_SERIALIZATION = 'Type "%s" is not known in version %s and groups %s. Did you forgot to configure the generators to support this file or this combination of version and groups? or did the generators did not run?';
private const UNSUPPORTED_TYPE_SERIALIZATION = 'Type "%s" is not known in version %s and groups %s. This most likely means that you forgot to configure the generators to support this file with the specific combination of version and groups, or that the generators did not run.';

public static function typeUnsupportedDeserialization(string $type): self
{
Expand Down

0 comments on commit eabbb8b

Please sign in to comment.