Complex assetions like deepEquals
and satisfies
plugins should differentiate between bail outs and internal errors
#48
Labels
bug
Something isn't working
Currently, if a crash happens in the
deepEquals
code (as in #41), or in a.satisfies
plugin, this is reported as a bailout.Crashes in user code (e.g. an getter that throws when doing a
deepEquals
, or some other failure in user code called from thesatisfies()
validator) should cause bailouts, but errors inospec
and validators should throw errors and exit ASAP with a corresponding stack trace.The text was updated successfully, but these errors were encountered: