Sha256: 3f09cf3ad44fb3571cf707667c3e55d356e82baa65ecb855b1612c40447c58e8
Contents?: true
Size: 945 Bytes
Versions: 51
Compression:
Stored size: 945 Bytes
Contents
require 'protobuf/rpc/rpc.pb' module Protobuf module Rpc class BadRequestData < PbError def initialize message='Unable to parse request' super message, 'BAD_REQUEST_DATA' end end class BadRequestProto < PbError def initialize message='Request is of wrong type' super message, 'BAD_REQUEST_PROTO' end end class ServiceNotFound < PbError def initialize message='Service class not found' super message, 'SERVICE_NOT_FOUND' end end class MethodNotFound < PbError def initialize message='Service method not found' super message, 'METHOD_NOT_FOUND' end end class RpcError < PbError def initialize message='RPC exception occurred' super message, 'RPC_ERROR' end end class RpcFailed < PbError def initialize message='RPC failed' super message, 'RPC_FAILED' end end end end
Version data entries
51 entries across 51 versions & 2 rubygems