TerraformCommandError
Hierarchy
- Error
- TerraformCommandError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
args: string[]
The arguments the command was invoked with.
exitCode: number
The command's exit code.
stdout: string
The command's standard output, kept only for a command asked for JSON.
stderr: string
The last 64 KB the command wrote to standard error.
Returns TerraformCommandError
Thrown when a terraform or terragrunt command exits non-zero. Carries the command's arguments, exit code, the stdout of a command asked for JSON, and the end of its stderr.
Errors/Terraform