- changed status to open
Use bespoke exception classes
Issue #1
closed
We’re currently using IllegalArgumentException
and IllegalStateException
in somewhat haphazard ways. Ideally, we would instead:
- Have our own dedicated exception classes
- Use individual exception classes that are specialized so that they can be distinguished without parsing the message
- Provide information about where the error occurred, if possible, meaning a line/column of the source doc, an xpath/jq-style locator, etc.
Comments (3)
-
reporter -
reporter - changed status to resolved
Fixed in 0.6.0
-
reporter - changed status to closed
- Log in to comment