mgnipy.emgapi_v2_client.errors module#

Contains shared errors types that can be raised from API functions

exception mgnipy.emgapi_v2_client.errors.UnexpectedStatus(status_code, content)[source]#

Bases: Exception

Raised by api functions when the response status an undocumented status and Client.raise_on_unexpected_status is True

Parameters:
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.