We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8457c25 commit 5c79fc4Copy full SHA for 5c79fc4
aws_lambda_powertools/utilities/validation/exceptions.py
@@ -8,7 +8,7 @@ class SchemaValidationError(Exception):
8
9
def __init__(
10
self,
11
- message: str,
+ message: Optional[str] = None,
12
validation_message: Optional[str] = None,
13
name: Optional[str] = None,
14
path: Optional[List] = None,
@@ -21,7 +21,7 @@ def __init__(
21
22
Parameters
23
----------
24
- message : str
+ message : str, optional
25
Powertools formatted error message
26
validation_message : str, optional
27
Containing human-readable information what is wrong
0 commit comments