mgnipy.emgapi_v2_client.errors module#
Contains shared errors types that can be raised from API functions
- exception UnexpectedStatus(status_code, content)[source]#
Bases:
ExceptionRaised by api functions when the response status an undocumented status and Client.raise_on_unexpected_status is True
- add_note(note, /)#
Add a note to the exception
- args#
- with_traceback(tb, /)#
Set self.__traceback__ to tb and return self.