Text
Returns a one-liner that describes the error in human language.
try {
// ...
} catch(err) {
if(err instanceof EnoError) {
err.text; // returns 'In line 4 'a' is copied into itself.'
}
}
Next page: Snippet
Returns a one-liner that describes the error in human language.
try {
// ...
} catch(err) {
if(err instanceof EnoError) {
err.text; // returns 'In line 4 'a' is copied into itself.'
}
}