Partilhar via


CreateTasksErrorException Class

Aggregate Exception containing details for any failures from a task add operation.

Inheritance
builtins.Exception
CreateTasksErrorException

Constructor

CreateTasksErrorException(pending_tasks=None, failure_tasks=None, errors=None)

Parameters

Name Description
message
Required
str

Error message describing exit reason

pending_tasks
[<xref:TaskAddParameter>]

List of tasks remaining to be submitted.

Default value: None
failure_tasks
[<xref:TaskAddResult>]

List of tasks which failed to add

Default value: None
errors

List of unknown errors forcing early termination

Default value: None

Methods

add_note

Exception.add_note(note) – add a note to the exception

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

add_note

Exception.add_note(note) – add a note to the exception

add_note()

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

with_traceback()

Attributes

args