Skip to main content

RuntimeUserError

This error is raised when the underlying task execution fails because of an error in the user's code.

Constructor

Signature

def RuntimeUserError(
code: string,
message: string,
worker: string | None = None
) - > null

Parameters

NameTypeDescription
codestringA specific error code identifying the type of failure.
messagestringA descriptive message explaining the error.
worker`stringNone` = None

Signature

def RuntimeUserError(
code: string,
message: string,
worker: string | None = None
) - > null

Parameters

NameTypeDescription
codestringThe specific error code identifying the type of failure encountered
messagestringA human-readable explanation detailing the nature of the user code error
worker`stringNone` = None