This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
separate exceptions in assert methods #4
Open
Description
E.g. the following code would report a type error:
static assert(obj) {
assert(obj).is(assert.structureOf({
createRootView: Function
}));
}
The real problem was the typo: It needs to be assert.structure
instead of assert.structureOf
. However, the error that assert generated was misleading.
Metadata
Metadata
Assignees
Labels
No labels