| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Claude.V1.Error
Contents
Description
Error types for Claude API
Synopsis
Types
Error information returned by the Claude API
Instances
| FromJSON Error Source # | |||||
Defined in Claude.V1.Error | |||||
| ToJSON Error Source # | |||||
| Generic Error Source # | |||||
Defined in Claude.V1.Error Associated Types
| |||||
| Show Error Source # | |||||
| type Rep Error Source # | |||||
Defined in Claude.V1.Error type Rep Error = D1 ('MetaData "Error" "Claude.V1.Error" "claude-1.0.1-EgYZW4derSS3e7Da0dFQBO" 'False) (C1 ('MetaCons "Error" 'PrefixI 'True) (S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ErrorType) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
The type of error that occurred
Constructors
| Invalid_Request_Error | |
| Authentication_Error | |
| Permission_Error | |
| Not_Found_Error | |
| Rate_Limit_Error | |
| Api_Error | |
| Overloaded_Error |
Instances
| FromJSON ErrorType Source # | |||||
Defined in Claude.V1.Error | |||||
| ToJSON ErrorType Source # | |||||
| Generic ErrorType Source # | |||||
Defined in Claude.V1.Error Associated Types
| |||||
| Show ErrorType Source # | |||||
| Eq ErrorType Source # | |||||
| type Rep ErrorType Source # | |||||
Defined in Claude.V1.Error type Rep ErrorType = D1 ('MetaData "ErrorType" "Claude.V1.Error" "claude-1.0.1-EgYZW4derSS3e7Da0dFQBO" 'False) ((C1 ('MetaCons "Invalid_Request_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Authentication_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Permission_Error" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Not_Found_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Rate_Limit_Error" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Api_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Overloaded_Error" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||