Skip to main content

CeleryCommandException

A general command exception which stores an exit code.

Attributes​

AttributeTypeDescription
exit_codeintThe numeric status code returned to the operating system when the command fails.

Constructor​

Signature​

def CeleryCommandException(
message: string,
exit_code: integer
) - > null

Parameters​

NameTypeDescription
messagestringThe error message describing the exception.
exit_codeintegerThe numeric exit code associated with the command failure.

Signature​

def CeleryCommandException(
message: string,
exit_code: integer
) - > null

Parameters​

NameTypeDescription
messagestringThe human-readable error message describing the command failure
exit_codeintegerThe numeric status code to be returned to the operating system upon process termination