Exceptions

APi documentation of exceptions

exception notifiers.exceptions.NotifierException(*args, **kwargs)[source]

Base notifier exception. Catch this to catch all of notifiers errors

exception notifiers.exceptions.BadArguments(validation_error: str, *args, **kwargs)[source]

Raised on schema data validation issues

Parameters
  • validation_error – The validation error message

  • args – Exception arguments

  • kwargs – Exception kwargs

exception notifiers.exceptions.SchemaError(schema_error: str, *args, **kwargs)[source]

Raised on schema issues, relevant probably when creating or changing a provider schema

Parameters
  • schema_error – The schema error that was raised

  • args – Exception arguments

  • kwargs – Exception kwargs

exception notifiers.exceptions.NotificationError(*args, **kwargs)[source]

A notification error. Raised after an issue with the sent notification. Looks for errors key word in kwargs.

Parameters
  • args – Exception arguments

  • kwargs – Exception kwargs

exception notifiers.exceptions.NoSuchNotifierError(name: str, *args, **kwargs)[source]

An unknown notifier was requests, one that was not registered