-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0eb3b7
commit da6284a
Showing
16 changed files
with
134 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
from .bad_request_error import BadRequestError | ||
from .forbidden_error import ForbiddenError | ||
from .too_many_requests_error import TooManyRequestsError | ||
from .unauthorized_error import UnauthorizedError | ||
|
||
__all__ = ["BadRequestError", "ForbiddenError", "TooManyRequestsError", "UnauthorizedError"] | ||
__all__ = ["BadRequestError", "TooManyRequestsError", "UnauthorizedError"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import typing | ||
|
||
from ..core.api_error import ApiError | ||
from ..types.api_error_response import ApiErrorResponse | ||
|
||
|
||
class BadRequestError(ApiError): | ||
def __init__(self, body: typing.Any): | ||
def __init__(self, body: ApiErrorResponse): | ||
super().__init__(status_code=400, body=body) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import typing | ||
|
||
from ..core.api_error import ApiError | ||
from ..types.api_error_response import ApiErrorResponse | ||
|
||
|
||
class TooManyRequestsError(ApiError): | ||
def __init__(self, body: typing.Any): | ||
def __init__(self, body: ApiErrorResponse): | ||
super().__init__(status_code=429, body=body) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import typing | ||
|
||
from ..core.api_error import ApiError | ||
from ..types.api_error_response import ApiErrorResponse | ||
|
||
|
||
class UnauthorizedError(ApiError): | ||
def __init__(self, body: typing.Any): | ||
def __init__(self, body: ApiErrorResponse): | ||
super().__init__(status_code=401, body=body) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.