GafaelfawrParseError¶
- exception controller.exceptions.GafaelfawrParseError(message, error)¶
Bases:
SlackException
Unable to parse the reply from Gafaelfawr.
- Parameters:
- classmethod from_exception(exc)¶
Create an exception from a Pydantic parse failure.
- Parameters:
exc (
ValidationError
) – Pydantic exception.- Returns:
Constructed exception.
- Return type:
- to_slack()¶
Convert to a Slack message for Slack alerting.
- Returns:
Slack message suitable for posting as an alert.
- Return type: