/usr/lib/ruby/vendor_ruby/mcollective/exceptions.rb is in mcollective-common 2.6.0+dfsg-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | module MCollective
# Exceptions for the RPC system
class DDLValidationError<RuntimeError;end
class ValidatorError<RuntimeError; end
class MsgDoesNotMatchRequestID < RuntimeError; end
class MsgTTLExpired<RuntimeError;end
class NotTargettedAtUs<RuntimeError;end
class RPCError<StandardError;end
class SecurityValidationFailed<RuntimeError;end
class BackoffSuggestion<StandardError
attr_reader :backoff
def initialize(backoff = nil)
@backoff = backoff
end
end
class MessageNotReceived<BackoffSuggestion; end
class UnexpectedMessageType<BackoffSuggestion; end
class InvalidRPCData<RPCError;end
class MissingRPCData<RPCError;end
class RPCAborted<RPCError;end
class UnknownRPCAction<RPCError;end
class UnknownRPCError<RPCError;end
end
|