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.12.5 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.20.3 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.20.2 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.20.0 lib/mcollective/exceptions.rb
choria-mcorpc-support-0.0.1 lib/mcollective/exceptions.rb
mcollective-client-2.12.4 lib/mcollective/exceptions.rb
mcollective-client-2.12.3 lib/mcollective/exceptions.rb
mcollective-client-2.12.1 lib/mcollective/exceptions.rb
mcollective-client-2.12.0 lib/mcollective/exceptions.rb
mcollective-client-2.10.6 lib/mcollective/exceptions.rb
mcollective-client-2.11.4 lib/mcollective/exceptions.rb
mcollective-client-2.11.3 lib/mcollective/exceptions.rb
mcollective-client-2.11.2 lib/mcollective/exceptions.rb
mcollective-client-2.11.1 lib/mcollective/exceptions.rb
mcollective-client-2.11.0 lib/mcollective/exceptions.rb
mcollective-client-2.10.4 lib/mcollective/exceptions.rb
mcollective-client-2.10.3 lib/mcollective/exceptions.rb
mcollective-client-2.10.2 lib/mcollective/exceptions.rb
mcollective-client-2.10.1 lib/mcollective/exceptions.rb
mcollective-client-2.10.0 lib/mcollective/exceptions.rb