Committed by
GitHub
Merge pull request #667 from wbemanuel/fix-get-instance-exception-typo
Fix exception typo in get_instance
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -258,9 +258,9 @@ class GetInstance { | @@ -258,9 +258,9 @@ class GetInstance { | ||
258 | if (isRegistered<S>(tag: tag)) { | 258 | if (isRegistered<S>(tag: tag)) { |
259 | if (_singl[key] == null) { | 259 | if (_singl[key] == null) { |
260 | if (tag == null) { | 260 | if (tag == null) { |
261 | - throw 'Class "$S" is not register'; | 261 | + throw 'Class "$S" is not registered'; |
262 | } else { | 262 | } else { |
263 | - throw 'Class "$S" with tag "$tag" is not register'; | 263 | + throw 'Class "$S" with tag "$tag" is not registered'; |
264 | } | 264 | } |
265 | } | 265 | } |
266 | 266 |
-
Please register or login to post a comment