Exception: JRPC::Errors::ParseError

Inherits:
ServerError show all
Defined in:
lib/jrpc/errors.rb

Instance Attribute Summary

Attributes inherited from ServerError

#code, #data

Instance Method Summary collapse

Constructor Details

#initialize(message, data: nil) ⇒ ParseError

Returns a new instance of ParseError.



37
38
39
# File 'lib/jrpc/errors.rb', line 37

def initialize(message, data: nil)
  super(message, code: -32_700, data: data)
end