Maps an api_remote/remote_* rejection (the generated RemoteError union, tagged by kind) to ApiError. transport and junk both fall through to the default 500.
api_remote
remote_*
RemoteError
kind
ApiError
transport
Maps an
api_remote/remote_*rejection (the generatedRemoteErrorunion, tagged bykind) toApiError.transportand junk both fall through to the default 500.