Error
The single generic error interface for all (user) errors that eno generates.
Note that this is never raised 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:
... # ...
... except Error as e: # catches both ParseError and ValidationError
... # ...
Subpages
cursorselection
message
snippet
text