MessagePack-RPC Exception
RPCError | +— TimeoutError | +— TransportError | | | +— NetworkUnreachableError | | | +— ConnectionRefusedError | | | +— ConnectionTimeoutError | | | +— MalformedMessageError | | | +— StreamClosedError | +— CallError | | | +— NoMethodError | | | +— ArgumentError | +— ServerError | | | +— ServerBusyError | +— RemoteError
|
+-- RuntimeError
|
+-- (user-defined errors)
# File lib/msgpack/rpc/exception.rb, line 175
175: def self.create(code, data)
176: if code[0] == ..
177: code = code.dup
178: while true
179: if klass = SYSTEM_ERROR_TABLE[code]
180: return klass.new(*data)
181: end
182: if code.slice!(/\.[^\.]*$/) == nil || code.empty?
183: return RPCError.new(code, *data)
184: end
185: end
186:
187: elsif code == RuntimeError::CODE
188: RuntimeError.new(*data)
189:
190: else
191: RemoteError.new(code, *data)
192: end
193: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.