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

    Class ProjectLoadError

    Thrown when a serialized project payload fails validation before being loaded.

    The error is always thrown before any engine state is mutated: an init() that rejects with it remains retryable, and a deserialize() that rejects with it leaves the current project running.

    Hierarchy

    • Error
      • ProjectLoadError
    Index

    Constructors

    Properties

    cause?: unknown

    Underlying validation error, typically a ZodError with the failing paths.

    engineVersion: string

    Version of the running SDK.

    message: string
    name: string
    projectVersion?: string

    SDK version recorded in the payload, when present.

    newer-version when the payload was saved by a newer SDK than the running one (the host should suggest updating the editor), otherwise invalid (corrupt or malformed data).

    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • 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