(code: ORPCErrorCode, message: string | undefined)
| 91 | } |
| 92 | |
| 93 | export function fallbackORPCErrorMessage(code: ORPCErrorCode, message: string | undefined): string { |
| 94 | return message || (COMMON_ORPC_ERROR_DEFS as any)[code]?.message || code |
| 95 | } |
| 96 | |
| 97 | export type ORPCErrorOptions<TData> |
| 98 | = & ErrorOptions |
no outgoing calls
no test coverage detected