diff --git a/lib/src/core/definitions/extensions/json_parser.dart b/lib/src/core/definitions/extensions/json_parser.dart index 3dfebbae..597ccf67 100644 --- a/lib/src/core/definitions/extensions/json_parser.dart +++ b/lib/src/core/definitions/extensions/json_parser.dart @@ -611,7 +611,7 @@ Iterable _parseContextEntries(dynamic json) sync* { if (value is! String) { throw ValidationException( - "Excepted $value to be a String or a Map " + "Expected $value to be a String or a Map " "as @context entry, got ${value.runtimeType} instead."); } @@ -626,7 +626,7 @@ Iterable _parseContextEntries(dynamic json) sync* { } default: throw ValidationException( - "Excepted the @context entry $json to " + "Expected the @context entry $json to " "either be a String or a Map, " "got ${json.runtimeType} instead.", );