sym.sdk.exceptions.pagerduty

Exceptions

PagerDutyError

This is the base class for all PagerDutyErrors.

exception sym.sdk.exceptions.pagerduty.PagerDutyError(name: str, message: str, error_type: str = 'PagerDuty')

Bases: sym.sdk.exceptions.sym_exception.SymException

This is the base class for all PagerDutyErrors.

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

  • message – The exception message to display

with_traceback()

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