ts-dune-client
ts-dune-client copied to clipboard
Way Better Error Handling
Currently our error handling is WEAK AF! Just look how crappy this is:
https://github.com/bh2smith/ts-dune-client/blob/abef0d0f8c31c07ccf461a4038b6e770ddb25360/src/types/error.ts#L1-L7
The docs specify error codes on each route and when they occur (e.g. execute query)
We should have Enums that capture all possible errors instead of the weak-ass error class linked above.