Asserts that an object is an error.
error to assert
resulting error
if the object is not an error
Generated using TypeDoc
Asserts that an object is an error.