is it possible to send error codes that aren't listed (eg 503 - service unavailable)
When creating a
TRPCError
you can specify a code out of the ones listed on the docs
But out of these, the only 5xx error is internal server error. I would like to send a 503 to indicate that the request was properly formatted, but the server isn't ready to handle it yet. It's not necessarily a server error.0 Replies