http/jsonrpc_errors.ts view source
(status: number): -32700 | -32600 | -32601 | -32602 | -32603 | (number & $brand<"JsonrpcServerErrorCode">) import {http_status_to_jsonrpc_error_code} from '@fuzdev/fuz_app/http/jsonrpc_errors.js'; Map an HTTP status code to a JSON-RPC error code.
Returns internal_error (-32603) for unrecognized status codes.
status
number