Skip to main content

Dagger NodeJS SDK

common/errors.DockerImageRefValidationError

This error is thrown if the passed image reference does not pass validation and is not compliant with the DockerImage constructor.

Hierarchy

Properties

cause

Optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


code

code: "D107"

The dagger specific error code. Use this to identify dagger errors programmatically.

Overrides

DaggerSDKError.code


message

message: string

Inherited from

DaggerSDKError.message


name

name: "DockerImageRefValidationError"

The name of the dagger error.

Overrides

DaggerSDKError.name


ref

ref: string

The docker image reference, which caused the error.


stack

Optional stack: string

Inherited from

DaggerSDKError.stack

Methods

printStackTrace

printStackTrace(): void

Pretty prints the error

Returns

void

Inherited from

DaggerSDKError.printStackTrace