EnoError » text
text → string
Returns a one-liner that describes the error in human language.
javascripttry {
// ...
} catch(err) {
if(err instanceof EnoError) {
err.message; // returns 'In line 4 'a' is copied into itself.'
}
}
Return value
A single sentence that describes the error in human language.