Skip to main content
Guardrails AI home page
Guardrails AI
Guardrails
Search...
⌘K
Ask AI
Search...
Navigation
Python
Errors
Docs
Concepts
Tutorials
Integrations
API Reference
Blog
Community
Book Demo
Python
Actions
Errors
Formatters
Generics And Base Classes
Guards
History and Logs
Helpers for LLM Interactions
Types
Validation
Guardrails CLI
Guardrails Server Rest API
On this page
ValidationError
Python
Errors
ValidationError
Copy
Ask AI
class
ValidationError
(
Exception
)
Top level validation error.
This is thrown from the validation engine when a Validator has on_fail=OnFailActions.EXCEPTION set and validation fails.
Inherits from Exception.
Actions
Previous
Formatters
Next
⌘I