Eno\Error

The single generic error interface for all (user) errors that eno generates. Note that this is never thrown by itself, but only in one of it's subclassed variants (ParseError and ValidationError). However, you can still utilize this generic class in cases where you want to catch both parser and validation errors indiscriminately, like so:

try {
  // ...
} catch(Error $e) {  // catches both ParseError and ValidationError
  // ...
}

Subpages

cursor
selection
message
snippet
text