FailFast
A FailFast annotation can be used to specify that validation should stop at the first error.
Attributes
| Attribute | Type | Description |
|---|---|---|
| fail_fast | bool = True | Determines whether validation should stop immediately at the first error to improve performance or continue to collect all errors. |
Constructor
Signature
def FailFast(
fail_fast: bool = True
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| fail_fast | bool = True | Whether validation should stop immediately after the first error is encountered to improve performance. |