File tree Expand file tree Collapse file tree 5 files changed +21
-1
lines changed
Expand file tree Collapse file tree 5 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 34
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-7fce94a3c9f72c1d81df2009682a3b554e4b641b32443fd7c1f09f566420f711.yml
33openapi_spec_hash : ae7e30bb8d093b5546cdc2b180f7b8e0
4- config_hash : 32f037e4bc66dfaca12016b0e5110140
4+ config_hash : 35ba9c665cfdad811e3e0af88f50a5fc
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ from anthropic.types import (
77 BillingError,
88 ErrorObject,
99 ErrorResponse,
10+ ErrorType,
1011 GatewayTimeoutError,
1112 InvalidRequestError,
1213 NotFoundError,
Original file line number Diff line number Diff line change 55from .model import Model as Model
66from .usage import Usage as Usage
77from .shared import (
8+ ErrorType as ErrorType ,
89 ErrorObject as ErrorObject ,
910 BillingError as BillingError ,
1011 ErrorResponse as ErrorResponse ,
Original file line number Diff line number Diff line change 11# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
3+ from .error_type import ErrorType as ErrorType
34from .error_object import ErrorObject as ErrorObject
45from .billing_error import BillingError as BillingError
56from .error_response import ErrorResponse as ErrorResponse
Original file line number Diff line number Diff line change 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+ ]
You can’t perform that action at this time.
0 commit comments