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.

Not to be confused with SymIntegrationError, which extends this exception and is the base exception for errors that occur in functions that integrate with the Sym platform itself.

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.