Class: ExecError
API error from an exec operation in a pipeline.
Extends​
Properties​
cause?​
optionalcause:Error
The original error, which caused the DaggerSDKError.
Inherited from​
cmd​
cmd:
string[]
The command that caused the error.
code​
code:
"D109"=ERROR_CODES.ExecError
The dagger specific error code. Use this to identify dagger errors programmatically.
Overrides​
exitCode​
exitCode:
number
The exit code of the command.
extensions?​
optionalextensions:any
GraphQL error extensions
message​
message:
string
Inherited from​
name​
name:
"ExecError"=ERROR_NAMES.ExecError
The name of the dagger error.
Overrides​
stack?​
optionalstack:string
Inherited from​
stderr​
stderr:
string
The stderr of the command.
stdout​
stdout:
string
The stdout of the command.
Methods​
printStackTrace()​
printStackTrace():
void
Pretty prints the error
Returns​
void