Skip to content

Commit

Permalink
Update prop error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jacehensley-wf committed Jun 30, 2017
1 parent 55881b5 commit af848e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/util/prop_errors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class PropError extends Error {
if (_messagePrefix == requiredPrefix) {
explanation = 'Prop $propName is required. ';
} else if (_messagePrefix == invalidPrefix) {
explanation = 'Prop $propName set to ${Error.safeToString(invalidValue)}. ';
explanation = 'Prop $propName set to $invalidValue. ';
} else if (_messagePrefix == combinationPrefix) {
explanation = 'Prop $propName and prop $prop2Name are set to incompatible values. ';
} else {
Expand Down

0 comments on commit af848e7

Please sign in to comment.