sym.sdk.exceptions.slack

Exceptions

SlackError

This is the base class for all SlackErrors.

exception sym.sdk.exceptions.slack.SlackError(name: str, message: str, error_type: str = 'Slack')

Bases: sym.sdk.exceptions.sym_exception.SymException

This is the base class for all SlackErrors.

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

  • message – The exception message to display

with_traceback()

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