File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from .bad_request_error import BadRequestError
4
+ from .unprocessable_entity_error import UnprocessableEntityError
5
+
6
+ __all__ = ["BadRequestError" , "UnprocessableEntityError" ]
Original file line number Diff line number Diff line change
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from ..core .api_error import ApiError
4
+ import typing
5
+
6
+
7
+ class BadRequestError (ApiError ):
8
+ def __init__ (self , body : typing .Optional [typing .Any ]):
9
+ super ().__init__ (status_code = 400 , body = body )
Original file line number Diff line number Diff line change
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from ..core .api_error import ApiError
4
+ from ..types .http_validation_error import HttpValidationError
5
+
6
+
7
+ class UnprocessableEntityError (ApiError ):
8
+ def __init__ (self , body : HttpValidationError ):
9
+ super ().__init__ (status_code = 422 , body = body )
You can’t perform that action at this time.
0 commit comments