Improved dispatchers with richer results and added predicate and regular expression based dispatchers
This commit is contained in:
@@ -50,7 +50,7 @@ export class Item_Unresolvable extends Error {
|
||||
constructor(data) {
|
||||
const { resolver, item } = data;
|
||||
const type = item === null ? 'null' : typeof item;
|
||||
super(`Cannot resolve item ${inspect(item)} of type "${type}" using resolver ${resolver}`);
|
||||
super(`Cannot resolve item ${inspect(item)} of type "${type}" using resolver ${resolver.constructor.name}`);
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user