class OpenRouter::ApiError

Overview

Generic API error

Defined in:

openrouter/errors.cr

Constructors

Instance Method Summary

Constructor methods inherited from class OpenRouter::Error

new(message : String) new

Constructor Detail

def self.new(message : String, code : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def code : Int32 | Nil #

[View source]