sym.sdk.exceptions.sym_exception.SymException¶
- exception sym.sdk.exceptions.sym_exception.SymException(error_type: str, name: str, message: str)¶
Bases:
Exception
This is the base class for all exceptions raised by the Sym Runtime.
- Parameters
error_type – The class of exception (used as the first part of the error_code, e.g. AuthenticationError)
name – The name of the exception (used as the second part of the error_code, e.g. INVALID_JWT)
message – The exception message to display
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.