struct OpenAI::ResponseError

Included Modules

Extended Modules

Defined in:

openai/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(error : APIErrorModel | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(error _error = @error) #

[View source]
def error : APIErrorModel | Nil #