Hierarchy

  • Error
    • DatapackDeploymentError

Constructors

  • Parameters

    • code: "RECORD_CASCADE_FAILURE" | "DEPLOYMENT_ALREADY_STARTED" | "DEPLOYMENT_FAILED" | "DEPLOYMENT_UNKNOWN_STATUS" | "RECORD_SOURCEKEY_DUPLICATE" | "RECORD_ALREADY_DEPLOYED" | "RECORD_MISSING_DEPENDENCY" | "RECORD_UNKNOWN_DATAPACK" | "RECORD_NOT_PENDING" | "RECORD_UNRESOLVED_DEPENDENCY" | "INVALID_RECORD" | "INVALID_RESOLVE_RESULTS" | "UNKNOWN_ERROR"
    • message: string

    Returns DatapackDeploymentError

Properties

cause?: unknown
errorCode: "RECORD_CASCADE_FAILURE" | "DEPLOYMENT_ALREADY_STARTED" | "DEPLOYMENT_FAILED" | "DEPLOYMENT_UNKNOWN_STATUS" | "RECORD_SOURCEKEY_DUPLICATE" | "RECORD_ALREADY_DEPLOYED" | "RECORD_MISSING_DEPENDENCY" | "RECORD_UNKNOWN_DATAPACK" | "RECORD_NOT_PENDING" | "RECORD_UNRESOLVED_DEPENDENCY" | "INVALID_RECORD" | "INVALID_RESOLVE_RESULTS" | "UNKNOWN_ERROR"
fields?: string[]
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void