Sha256: 299e75020c373d10f945b426826d615c9379ea189debf4738d6188379fddb802

Contents?: true

Size: 786 Bytes

Versions: 7

Compression:

Stored size: 786 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mcollective-client-2.6.1 lib/mcollective/exceptions.rb
mcollective-client-2.6.0 lib/mcollective/exceptions.rb
mcollective-client-2.5.3 lib/mcollective/exceptions.rb
mcollective-client-2.5.2 lib/mcollective/exceptions.rb
mcollective-client-2.5.1 lib/mcollective/exceptions.rb
mcollective-client-2.5.0 lib/mcollective/exceptions.rb
mcollective-client-2.5.0.rc1 lib/mcollective/exceptions.rb