Exceptions
Errors generate by mod.io and the library.
-
exception
modio.errors.
modioException
(text, code=None, ref=None, errors=None)[source]
Base exception for the lib
-
code
The status code if this error was raised from a request
-
ref
The ref error code provided by mod.io
-
text
The unformatted text of the error
-
errors
The validation errors if any exist
-
args
-
with_traceback
()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.