struct OpenAI::APIErrorModel
- OpenAI::APIErrorModel
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
Extended Modules
- JSON::Schema
Defined in:
openai/errors.crConstructors
- .new(code : JSON::Any | Nil, message : String | Nil | Array(String) | Nil, param : String | Nil, type : String | Nil, innererror : InnerError | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #code : JSON::Any | Nil
- #copy_with(code _code = @code, message _message = @message, param _param = @param, type _type = @type, innererror _innererror = @innererror)
- #error_msg : String | Nil
- #innererror : InnerError | Nil
- #message : String | Nil | Array(String) | Nil
- #param : String | Nil
- #type : String | Nil
Constructor Detail
def self.new(code : JSON::Any | Nil, message : String | Nil | Array(String) | Nil, param : String | Nil, type : String | Nil, innererror : InnerError | Nil)
#
Instance Method Detail
def copy_with(code _code = @code, message _message = @message, param _param = @param, type _type = @type, innererror _innererror = @innererror)
#