DEFAULT_KSRPC_ERROR_CODE_TO_HTTP_STATUS
Default mapping from ksrpc error codes to HTTP status codes used by the HTTP transport.
KsrpcException.ENDPOINT_NOT_FOUND_CODE (
-32601) -> 404KsrpcException.INTERNAL_ERROR_CODE (
-32603) -> 500
Codes not present in the configured map default to status 500, with the original code carried in KSRPC_ERROR_CODE_HEADER. The error response body always carries the wire-format-encoded error payload (or empty when no payload is attached).
Pass the same map on both ends so the round-trip preserves user-defined codes.