sym.sdk.exceptions.onelogin

Exceptions

OneLoginError

This is the base class for all OneLoginErrors.

exception sym.sdk.exceptions.onelogin.OneLoginError(name: str, message: str, error_type: str = 'OneLogin')

Bases: sym.sdk.exceptions.sym_exception.SymException

This is the base class for all OneLoginErrors.

Parameters
  • name – The name of the exception (used as the second part of the error code, e.g. AUTH_FAILED)

  • message – The exception message to display

with_traceback()

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