AzureBatchOperationError Class

Indicates that a batch operation failed.

Inheritance
AzureBatchOperationError

Constructor

AzureBatchOperationError(message, status_code, *args, **kwargs)

Parameters

Name Description
message
Required
status_code
Required
batch_code
Required

Variables

Name Description
message
str

A detailed error message indicating the index of the batch request which failed and the reason for the failure. For example, '0:One of the request inputs is out of range.' indicates the 0th batch request failed as one of its property values was out of range.

status_code
int

The HTTP status code of the batch request. For example, 400.

batch_code
str

The batch status code. For example, 'OutOfRangeInput'.

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