class OpenAI::APIError

Defined in:

openai/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(code : Int32, err : APIErrorModel) #

[View source]

Instance Method Detail

def api_error : String | Nil #

[View source]
def code : Int32 #

[View source]