sym.sdk.exceptions.http.HTTPError¶
- exception sym.sdk.exceptions.http.HTTPError(name: str, message: str, error_type: str = 'HTTP')¶
Bases:
sym.sdk.exceptions.sym_exception.SymException
This is the base class for all HTTPErrors.
- Parameters
name – The name of the exception (used as the second part of the error code, e.g. ERROR_RESPONSE)
message – The exception message to display
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.