Skip to content

Commit

Permalink
Merge pull request #92 from jacehensley-wf/update_prop_error_message/dev
Browse files Browse the repository at this point in the history
Update prop error message
  • Loading branch information
aaronlademann-wf authored Jul 5, 2017
2 parents 55881b5 + af848e7 commit d462277
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 d462277

Please sign in to comment.