Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the type (name) of the current exception. Example values (could also be dynamic ones)

Common types are:HTTP400BadRequestException

Type

...

Description

HTTP404NotFoundException

HTTP409ConflictException

HTTP410GoneException

HTTP411ContentLengthRequiredException

HTTP429TooManyRequestsException

HTTP500InternalServerError

PelUtilException

CommandExecutionException

CommandNotFoundException

PipelineException

...

PelUtilException

In case the execution of a pipeline util has been failed.

CommandException

In case the execution of a command has been failed.

CommandNotFoundException

In case a command was not found.

PipelineException

In case a pipeline execution has been failed.

Exception

This type catches any exception.

exception.statusCode

The status code of the exception if there is any. Usually an HTTP status code is assigned with any exception. By default it is set to 500.

...