exception

exception APIKeyMissingErrorSource

Bases: GarakException

Exception to be raised if a required API key is not found

exception BadGeneratorExceptionSource

Bases: PluginConfigurationError

Generator invocation requested is not usable

exception ConfigFailureSource

Bases: GarakException

Raised when plugin configuration fails

exception GarakExceptionSource

Bases: Exception

Base class for all garak exceptions

exception GeneratorBackoffTriggerSource

Bases: GarakException

Thrown when backoff should be triggered

exception PayloadFailureSource

Bases: GarakException

Problem instantiating/using payloads

exception PluginConfigurationErrorSource

Bases: GarakException

Plugin config/description is not usable

exception RateLimitHitSource

Bases: Exception

Raised when a rate limiting response is returned

exception ReportIncompatibleErrorSource

Bases: GarakException

Report references plugins unknown to the current garak install; the report is not compatible with this version

exception TargetNameMissingErrorSource

Bases: GarakException

A generator requires target_name to be set, but it wasn’t