class OpenRouter::InvalidJSONResponse

Defined in:

openrouter/types/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(text : String, cause : Exception | Nil = nil) #

[View source]

Instance Method Detail

def cause : Exception | Nil #
Description copied from class Exception

Returns the previous exception at the time this exception was raised. This is useful for wrapping exceptions and retaining the original exception information.


[View source]
def text : String #

[View source]