1// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
3package anthropic
4
5import (
6 "github.com/anthropics/anthropic-sdk-go/internal/apierror"
7 "github.com/anthropics/anthropic-sdk-go/packages/param"
8 "github.com/anthropics/anthropic-sdk-go/shared"
9)
10
11// aliased to make [param.APIUnion] private when embedding
12type paramUnion = param.APIUnion
13
14// aliased to make [param.APIObject] private when embedding
15type paramObj = param.APIObject
16
17type Error = apierror.Error
18
19// This is an alias to an internal type.
20type APIErrorObject = shared.APIErrorObject
21
22// This is an alias to an internal type.
23type AuthenticationError = shared.AuthenticationError
24
25// This is an alias to an internal type.
26type BillingError = shared.BillingError
27
28// This is an alias to an internal type.
29type ErrorObjectUnion = shared.ErrorObjectUnion
30
31// This is an alias to an internal type.
32type ErrorResponse = shared.ErrorResponse
33
34// This is an alias to an internal type.
35type GatewayTimeoutError = shared.GatewayTimeoutError
36
37// This is an alias to an internal type.
38type InvalidRequestError = shared.InvalidRequestError
39
40// This is an alias to an internal type.
41type NotFoundError = shared.NotFoundError
42
43// This is an alias to an internal type.
44type OverloadedError = shared.OverloadedError
45
46// This is an alias to an internal type.
47type PermissionError = shared.PermissionError
48
49// This is an alias to an internal type.
50type RateLimitError = shared.RateLimitError