Class: abstract
DaggerSDKError
The base error. Every other error inherits this error.
Extends
Error
Extended by
UnknownDaggerError
DockerImageRefValidationError
EngineSessionConnectParamsParseError
ExecError
GraphQLRequestError
InitEngineSessionBinaryError
TooManyNestedObjectsError
EngineSessionError
EngineSessionConnectionTimeoutError
NotAwaitedRequestError
Properties
cause?
optional
cause:Error
The original error, which caused the DaggerSDKError.
Overrides
Error.cause
code
abstract
readonly
code:ErrorCodes
The dagger specific error code. Use this to identify dagger errors programmatically.
message
message:
string
Inherited from
Error.message
name
abstract
readonly
name:"GraphQLRequestError"
|"UnknownDaggerError"
|"TooManyNestedObjectsError"
|"EngineSessionConnectParamsParseError"
|"EngineSessionConnectionTimeoutError"
|"EngineSessionError"
|"InitEngineSessionBinaryError"
|"DockerImageRefValidationError"
|"NotAwaitedRequestError"
|"ExecError"
The name of the dagger error.
Overrides
Error.name
stack?
optional
stack:string
Inherited from
Error.stack
Methods
printStackTrace()
printStackTrace():
void
Pretty prints the error
Returns
void