Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
// This file is auto-generated by scripts/add-orpc-error-maps.ts
import * as z from 'zod'
const zErrorResponse = /* @__PURE__ */ (() =>
z.object({
code: z.string(),
details: z.record(z.string(), z.unknown()).optional(),
message: z.string(),
params: z.string().optional(),
status: z.int(),
}))()
const zFileExtensionBlockedError = /* @__PURE__ */ (() =>
zErrorResponse.and(
z.object({
code: z.literal('file_extension_blocked'),
status: z.literal(400),
}),
))()
const zFilenameNotExistsError = /* @__PURE__ */ (() =>
zErrorResponse.and(
z.object({
code: z.literal('filename_not_exists_error'),
status: z.literal(400),
}),
))()
const zNoFileUploadedError = /* @__PURE__ */ (() =>
zErrorResponse.and(
z.object({
code: z.literal('no_file_uploaded'),
status: z.literal(400),
}),
))()
const zTooManyFilesError = /* @__PURE__ */ (() =>
zErrorResponse.and(
z.object({
code: z.literal('too_many_files'),
status: z.literal(400),
}),
))()
const zFileTooLargeError = /* @__PURE__ */ (() =>
zErrorResponse.and(
z.object({
code: z.literal('file_too_large'),
status: z.literal(413),
}),
))()
const zUnsupportedFileTypeError = /* @__PURE__ */ (() =>
zErrorResponse.and(
z.object({
code: z.literal('unsupported_file_type'),
status: z.literal(415),
}),
))()
export const postErrors = {
file_extension_blocked: { status: 400, data: zFileExtensionBlockedError },
file_too_large: { status: 413, data: zFileTooLargeError },
filename_not_exists_error: { status: 400, data: zFilenameNotExistsError },
no_file_uploaded: { status: 400, data: zNoFileUploadedError },
too_many_files: { status: 400, data: zTooManyFilesError },
unsupported_file_type: { status: 415, data: zUnsupportedFileTypeError },
}