feat(rpc): add service errors and retryability classification

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-05 13:37:52 +05:30
co-authored by Claude Opus 5
parent 3e1d7db537
commit 796b19d923
3 changed files with 126 additions and 0 deletions
+3
View File
@@ -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";