pyarrow.flight.FlightError#

exception pyarrow.flight.FlightError(message='', extra_info=b'')#

Bases: Exception

The base class for Flight-specific errors.

A server may raise this class or one of its subclasses to provide a more detailed error to clients.

Parameters:
messagestr, optional

The error message.

extra_infobytes, optional

Extra binary error details that were provided by the server/will be sent to the client.

Attributes:
extra_infobytes

Extra binary error details that were provided by the server/will be sent to the client.

add_note()#

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

args#
with_traceback()#

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