Exception: Geminize::InvalidStreamFormatError
- Inherits:
-
StreamingError
- Object
- StandardError
- GeminizeError
- StreamingError
- Geminize::InvalidStreamFormatError
- Defined in:
- lib/geminize/errors.rb
Overview
Error when the stream format is invalid
Instance Method Summary collapse
-
#initialize(message = nil, code = nil, http_status = 400) ⇒ InvalidStreamFormatError
constructor
A new instance of InvalidStreamFormatError.
Constructor Details
#initialize(message = nil, code = nil, http_status = 400) ⇒ InvalidStreamFormatError
Returns a new instance of InvalidStreamFormatError.
161 162 163 164 165 166 167 |
# File 'lib/geminize/errors.rb', line 161 def initialize( = nil, code = nil, http_status = 400) super( || "Invalid stream format or response structure", code || "INVALID_STREAM_FORMAT", http_status ) end |