Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
anthropic
main
Anthropic
CacheControl
Type
Client
ContentBlockDelta
ContentBlockStart
ContentBlock
ContentBlockStop
Error
APIError
AuthenticationError
InvalidRequestError
NotFoundError
OverloadedError
PermissionError
RateLimitError
Response
Error
Event
EventMessage
EventSource
GeneratedMessage
Content
Type
StopReason
Text
ToolUse
PossibleSchema
Schema
Usage
Image
Source
MediaType
Type
Message
Role
MessageContent
MessageDelta
Delta
Usage
Messages
Body
MessageContentTransformer
Query
Request
MessageStart
MessageStop
MessageStream
Model
Ping
Resource
Text
TextDelta
TextOrImageContent
Tool
Handler
ToolResult
ToolUse
Generated using Crystal 1.14.0
2024-11-26 08:19:35 UTC
struct
Anthropic::
Error::
Response::
Error
Anthropic::Error::Response::Error
Struct
Value
Object
Included Modules
Anthropic::Resource
JSON::Serializable
Extended Modules
JSON::Schema
Defined in:
error.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#message
: String
#type
: String
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
Instance Method Detail
def
message
: String
#
[
View source
]
def
type
: String
#
[
View source
]