@rendley/sdk - v1.12.6
    Preparing search index...

    Class ZodError<T>

    Type Parameters

    • T = any

    Hierarchy

    • Error
      • ZodError
    Index

    Constructors

    Properties

    addIssue: (sub: Zod.ZodIssue) => void
    addIssues: (subs?: Zod.ZodIssue[]) => void
    cause?: unknown
    issues: Zod.ZodIssue[]
    name: string
    stack?: string
    create: (issues: Zod.ZodIssue[]) => Zod.ZodError<any>
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Accessors

    • get isEmpty(): boolean

      Returns boolean

    • get message(): string

      Returns string

    Methods

    • Returns a string representation of an object.

      Returns string

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error