Exception: Beachcomber::ProtocolError

Inherits:
CombError show all
Defined in:
lib/beachcomber/errors.rb

Overview

Raised when a response cannot be parsed as valid JSON, or the daemon rejects malformed input.

Instance Attribute Summary

Attributes inherited from CombError

#kind

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ProtocolError

Returns a new instance of ProtocolError.



85
86
87
# File 'lib/beachcomber/errors.rb', line 85

def initialize(message)
  super('parse_error', message)
end