V2 Error

Mindee API V2 Error

class MindeeAPIV2Error

An exception relating to settings of the MindeeClient V2.

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.

Mindee HTTP Error V2

class MindeeHTTPErrorV2(response)

An exception relating to HTTP calls.

Parameters:

response (ErrorResponse)

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.

code: str

A machine-readable code specific to the occurrence of the problem.

detail: str

A human-readable explanation specific to the occurrence of the problem.

errors: list[ErrorItem]

A list of explicit error details.

status: int

The HTTP status code returned by the server.

title: str

A short, human-readable summary of the problem.