Kim De Mey a20ba207d2
Introduce custom application error with optional data object (#216)
This addresses two items:
- Use ApplicationError instead of InvalidRequest for custom
application errors. Avoiding confusing regarding the usage of
InvalidRequest (although the actual error code used could/would
be different).
- Allow for defining an optional data object that gets returned
in the error response, as per json-rpc specification.
2024-03-04 09:19:28 +01:00
..
2023-12-14 08:34:13 +07:00
2023-12-14 08:34:13 +07:00