Provide sentinel errors in the HTTP API #7307
Labels
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
P3
Low: Not priority right now
status/ready
Ready to be worked
topic/rpc-api
Issues related to Kubo RPC API at /api/v0
Matching errors against concrete types would be nice vs. fragile error string matching, e.g.,
Or, maybe using more fine grained error codes would be even better. I believe the above error will come with a code:
ErrNormal
or similar.The text was updated successfully, but these errors were encountered: