chore: better error text
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user