sym.sdk.exceptions.access_strategy.AccessStrategyError

exception sym.sdk.exceptions.access_strategy.AccessStrategyError(name: str, message: str, error_type: str = 'AccessStrategy')

Bases: sym.sdk.exceptions.sym_exception.SymException

This is the base class for all errors that occur when initializing an AccessStrategy.

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

  • message – The exception message to display

with_traceback()

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