Sha256: d0c159406a534841b3b98f60799d61ac5b89ec504106d7edeaa4fe54ad1ce93d

Contents?: true

Size: 828 Bytes

Versions: 33

Compression:

Stored size: 828 Bytes

Contents

module MCollective
# Exceptions for the RPC system
  class DDLValidationError<RuntimeError;end
  class ValidatorError<RuntimeError; end
  class ClientTimeoutError<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

33 entries across 33 versions & 2 rubygems

Version Path
mcollective-client-2.8.7 lib/mcollective/exceptions.rb
mcollective-client-2.8.5 lib/mcollective/exceptions.rb
mcollective-client-2.8.8 lib/mcollective/exceptions.rb
mcollective-client-2.8.6 lib/mcollective/exceptions.rb
mcollective-client-2.9.1 lib/mcollective/exceptions.rb
mcollective-client-2.9.0 lib/mcollective/exceptions.rb
mcollective-client-2.8.9 lib/mcollective/exceptions.rb
mcollective-client-2.8.4 lib/mcollective/exceptions.rb
mcollective-client-2.8.3 lib/mcollective/exceptions.rb
mcollective-client-2.8.2 lib/mcollective/exceptions.rb
mcollective-client-2.8.1 lib/mcollective/exceptions.rb
mcollective-client-2.8.0 lib/mcollective/exceptions.rb
mcollective-client-2.7.0 lib/mcollective/exceptions.rb