class Riffer::APIError
A provider answered with a non-success status, or sent an in-stream error event (status is nil then). body is the raw response text.
Attributes
Public Class Methods
Source
# File lib/riffer.rb, line 43 def initialize(message = nil, status: nil, body: nil) super(message) @status = status @body = body end
Calls superclass method