Skip to content

⚠️ Exceptions

Custom exception classes used by datason for error handling.

🎯 Overview

Datason provides specialized exception classes for different error scenarios.

📦 Exception Classes

SecurityError

datason.SecurityError

Bases: Exception

Raised when security limits are exceeded during serialization.

TemplateDeserializationError

datason.TemplateDeserializationError

Bases: Exception

Raised when template-based deserialization fails.