BadSerializer
Stub serializer to hold exception raised during registration
Attributes
| Attribute | Type | Description |
|---|---|---|
| internal_use_only | boolean = False | Flag indicating whether the serializer is restricted to internal system operations, defaulting to False. |
Constructor
Signature
def BadSerializer(
exception: Exception
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| exception | Exception | The exception instance to store and raise later. |
Signature
def BadSerializer(
exception: Exception
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| exception | Exception | The exception instance captured during the registration process to be re-raised upon invocation |