> This page is for version v0.25.0.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo/guardrails/latest/llms.txt
> - v0.25.0: https://docs.nvidia.com/nemo/guardrails/v0.25.0/llms.txt
> - v0.24.1: https://docs.nvidia.com/nemo/guardrails/v0.24.1/llms.txt
> - v0.24.0: https://docs.nvidia.com/nemo/guardrails/v0.24.0/llms.txt
> - v0.23.0: https://docs.nvidia.com/nemo/guardrails/v0.23.0/llms.txt
> - v0.22.0: https://docs.nvidia.com/nemo/guardrails/v0.22.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/guardrails/llms.txt.

# nemoguardrails.library.jailbreak_detection.model_based.errors

## Module Contents

### Classes

| Name                                                                                                                            | Description                                                             |
| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [`JailbreakInputTooLongError`](#nemoguardrails-library-jailbreak_detection-model_based-errors-JailbreakInputTooLongError)       | The detector cannot evaluate the complete input within its token limit. |
| [`JailbreakInputValidationError`](#nemoguardrails-library-jailbreak_detection-model_based-errors-JailbreakInputValidationError) | The detector's input coverage could not be verified.                    |

### API

```python
class nemoguardrails.library.jailbreak_detection.model_based.errors.JailbreakInputTooLongError()
```

**Bases:** `ValueError`

The detector cannot evaluate the complete input within its token limit.

```python
class nemoguardrails.library.jailbreak_detection.model_based.errors.JailbreakInputValidationError()
```

Exception

**Bases:** `Exception`

The detector's input coverage could not be verified.