Skip to content

Commit 34045e4

Browse files
feat(api): manual updates
1 parent 5ccd6b4 commit 34045e4

File tree

5 files changed

+21
-1
lines changed

5 files changed

+21
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 34
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-7fce94a3c9f72c1d81df2009682a3b554e4b641b32443fd7c1f09f566420f711.yml
33
openapi_spec_hash: ae7e30bb8d093b5546cdc2b180f7b8e0
4-
config_hash: 32f037e4bc66dfaca12016b0e5110140
4+
config_hash: 35ba9c665cfdad811e3e0af88f50a5fc

api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ from anthropic.types import (
77
BillingError,
88
ErrorObject,
99
ErrorResponse,
10+
ErrorType,
1011
GatewayTimeoutError,
1112
InvalidRequestError,
1213
NotFoundError,

src/anthropic/types/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from .model import Model as Model
66
from .usage import Usage as Usage
77
from .shared import (
8+
ErrorType as ErrorType,
89
ErrorObject as ErrorObject,
910
BillingError as BillingError,
1011
ErrorResponse as ErrorResponse,

src/anthropic/types/shared/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from .error_type import ErrorType as ErrorType
34
from .error_object import ErrorObject as ErrorObject
45
from .billing_error import BillingError as BillingError
56
from .error_response import ErrorResponse as ErrorResponse
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from typing_extensions import Literal, TypeAlias
4+
5+
__all__ = ["ErrorType"]
6+
7+
ErrorType: TypeAlias = Literal[
8+
"invalid_request_error",
9+
"authentication_error",
10+
"permission_error",
11+
"not_found_error",
12+
"rate_limit_error",
13+
"timeout_error",
14+
"overloaded_error",
15+
"api_error",
16+
"billing_error",
17+
]

0 commit comments

Comments
 (0)