chore: better error text
This commit is contained in:
parent
e29b5c2326
commit
f104e9b6cc
4 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ export default class Resolver {
|
|||
if (isCollectionOrOrderedCollection(collection)) {
|
||||
return collection;
|
||||
} else {
|
||||
throw new Error(`unknown collection type: ${collection.type}`);
|
||||
throw new Error(`unrecognized collection type: ${collection.type}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue