sym.sdk.exceptions.sdk.SDKError

exception sym.sdk.exceptions.sdk.SDKError(name: str, message: str, error_type: str = 'SymSDK')

Bases: sym.sdk.exceptions.sym_exception.SymException

Generic exceptions raised by the Sym SDK at runtime.

Parameters
  • name – The name of the exception (used as the second part of the error_code, e.g. MISSING_ARGUMENT)

  • message – The exception message to display

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.