Sha256: df776a54d99d68afda5d8cc4b885028105fb2301febec166ddf373326f520a42
Contents?: true
Size: 973 Bytes
Versions: 112
Compression:
Stored size: 973 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
112 entries across 112 versions & 1 rubygems