Skip to content

Commit

Permalink
fixup! feat!: rework TD @context handling
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed May 18, 2024
1 parent 31ce9b5 commit 418f0f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/core/definitions/extensions/json_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ Iterable<ContextEntry> _parseContextEntries(dynamic json) sync* {

if (value is! String) {
throw ValidationException(
"Excepted $value to be a String or a Map<String, String> "
"Expected $value to be a String or a Map<String, String> "
"as @context entry, got ${value.runtimeType} instead.");
}

Expand All @@ -626,7 +626,7 @@ Iterable<ContextEntry> _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<String, String>, "
"got ${json.runtimeType} instead.",
);
Expand Down

0 comments on commit 418f0f3

Please sign in to comment.