Exception: Geminize::StreamingError

Inherits:
GeminizeError show all
Defined in:
lib/geminize/errors.rb

Overview

Error specific to streaming operations

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, code = nil, http_status = nil) ⇒ StreamingError

Returns a new instance of StreamingError.



139
140
141
142
143
144
145
# File 'lib/geminize/errors.rb', line 139

def initialize(message = nil, code = nil, http_status = nil)
  super(
    message || "Streaming operation failed",
    code || "STREAMING_ERROR",
    http_status
  )
end