feat(rpc): add service errors and retryability classification
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,3 +17,6 @@ export type {
|
||||
ServiceContract,
|
||||
ServiceResult,
|
||||
} from "./types.ts";
|
||||
|
||||
export { RPC_ERROR_CODES, ServiceError, failure, isRetryableStatus, success } from "./errors.ts";
|
||||
export type { RpcErrorCode, ToResultOptions } from "./errors.ts";
|
||||
|
||||
Reference in New Issue
Block a user