Skip to main content

Class: DockerImageRefValidationError

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

Extends

Properties

cause?

optional cause: Error

The original error, which caused the DaggerSDKError.

Inherited from

DaggerSDKError.cause


code

code: "D107" = ERROR_CODES.DockerImageRefValidationError

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" = ERROR_NAMES.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