This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
String used as context object causes: Cannot create property 'errormessage' on string #23
Labels
feature
New feature request
When report() gets a string as the context object:
It'd be nice if o-errors supported any data type for the context and automatically wrapped in an object if necessary.
IMHO high tolerance for bad input is needed in o-errors, because error-handling code paths are rarely tested, and an error during error handling prevents any error being reported at all, which is quite undesirable.
The text was updated successfully, but these errors were encountered: