Exception: GroqRuby::APIResponseError

Inherits:
APIError show all
Defined in:
lib/groq_ruby/errors/api_response_error.rb

Overview

Raised when the API returned an unexpected payload (e.g. non-JSON body for a JSON endpoint) and we cannot map it onto a response model.

Instance Attribute Summary

Attributes inherited from APIError

#request

Method Summary

Methods inherited from APIError

#initialize

Constructor Details

This class inherits a constructor from GroqRuby::APIError