Sha256: 5de48242963cb68e8a735b6f7f9ee7cf85fc90579ffeadbe4ff5366ba7075a9c
Contents?: true
Size: 677 Bytes
Versions: 62
Compression:
Stored size: 677 Bytes
Contents
require 'protobuf/rpc/error' module Protobuf module Rpc class InvalidRequestProto < PbError def initialize(message = 'Invalid request type given') super message, 'INVALID_REQUEST_PROTO' end end class BadResponseProto < PbError def initialize(message = 'Bad response type from server') super message, 'BAD_RESPONSE_PROTO' end end class UnkownHost < PbError def initialize(message = 'Unknown host or port') super message, 'UNKNOWN_HOST' end end class IOError < PbError def initialize(message = 'IO Error occurred') super message, 'IO_ERROR' end end end end
Version data entries
62 entries across 62 versions & 4 rubygems