Exception: MessagePack::RPC::ServerError

Inherits:
RPCError
  • Object
show all
Defined in:
lib/msgpack/rpc/exception.rb

Direct Known Subclasses

ServerBusyError

Constant Summary collapse

CODE =
".ServerError"

Instance Attribute Summary

Attributes inherited from RPCError

#code, #data

Instance Method Summary collapse

Methods inherited from RPCError

create, #is?

Constructor Details

#initialize(msg) ⇒ ServerError

Returns a new instance of ServerError.



109
110
111
# File 'lib/msgpack/rpc/exception.rb', line 109

def initialize(msg)
	super(self.class::CODE, msg)
end