Variable secrecyErrorConst
secrecyError: ZodDiscriminatedUnion<"name", [ZodObject<{
code: ZodEnum<["PARSE_ERROR", "BAD_REQUEST", "INTERNAL_SERVER_ERROR", "NOT_IMPLEMENTED", "UNAUTHORIZED", "FORBIDDEN", "NOT_FOUND", "METHOD_NOT_SUPPORTED", "TIMEOUT", "CONFLICT", "PRECONDITION_FAILED", "PAYLOAD_TOO_LARGE"]>;
data: ZodOptional<ZodUnknown>;
message: ZodString;
name: ZodLiteral<"TRPCError">;
}, "strip", ZodTypeAny, {
code:
| "UNAUTHORIZED"
| "NOT_FOUND"
| "PARSE_ERROR"
| "BAD_REQUEST"
| "INTERNAL_SERVER_ERROR"
| "NOT_IMPLEMENTED"
| "FORBIDDEN"
| "METHOD_NOT_SUPPORTED"
| "TIMEOUT"
| "CONFLICT"
| "PRECONDITION_FAILED"
| "PAYLOAD_TOO_LARGE"
| "UNPROCESSABLE_CONTENT"
| "TOO_MANY_REQUESTS"
| "CLIENT_CLOSED_REQUEST";
data?: unknown;
message: string;
name: "TRPCError";
}, {
code:
| "UNAUTHORIZED"
| "NOT_FOUND"
| "PARSE_ERROR"
| "BAD_REQUEST"
| "INTERNAL_SERVER_ERROR"
| "NOT_IMPLEMENTED"
| "FORBIDDEN"
| "METHOD_NOT_SUPPORTED"
| "TIMEOUT"
| "CONFLICT"
| "PRECONDITION_FAILED"
| "PAYLOAD_TOO_LARGE"
| "UNPROCESSABLE_CONTENT"
| "TOO_MANY_REQUESTS"
| "CLIENT_CLOSED_REQUEST";
data?: unknown;
message: string;
name: "TRPCError";
}>, ZodObject<{
code: ZodEnum<["NOT_FOUND"]>;
message: ZodString;
name: ZodLiteral<"ClientError">;
}, "strip", ZodTypeAny, {
code: "NOT_FOUND";
message: string;
name: "ClientError";
}, {
code: "NOT_FOUND";
message: string;
name: "ClientError";
}>]> = ...