Skip to content

createError

createError<T>(name, message, input?): object

Type parameters

T extends string

Parameters

name: T

message: string

input?: string

Returns

object

_tag

_tag: T = name

code

code: number = -32700

input

input: undefined | string

message

message: string

name

name: T

Source

packages/actions/src/internal/zod/createError.js:7