Class: QRPC::Protocol::Abstract::Error Abstract

Inherits:
Object show all
Defined in:
lib/qrpc/protocol/abstract/error.rb

Overview

This class is abstract.

Abstract error object implementation.

Since:

  • 0.9.0

Direct Known Subclasses

JsonRpc::Error, Object::Error

Instance Attribute Summary

Attributes inherited from QRPC::Protocol::Abstract

#options

Instance Method Summary collapse

Methods inherited from QRPC::Protocol::Abstract

#error, #request, #response

Constructor Details

#initialize(init = { }) ⇒ Error

This method is abstract.

Constructor.

Parameters:

  • init (Hash) (defaults to: { })

    initial options

Since:

  • 0.9.0



44
45
46
47
48
49
# File 'lib/qrpc/protocol/abstract/error.rb', line 44

def initialize(init = { })
    super(init)
    if self.instance_of? Error
        not_implemented
    end
end