Sha256: 0a912897a1768476ff15f1d9b6433dcaea585c09c7d3c21519e4df56b02f286f

Contents?: true

Size: 892 Bytes

Versions: 20

Compression:

Stored size: 892 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
      super
    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

20 entries across 20 versions & 1 rubygems

Version Path
choria-mcorpc-support-2.26.5 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.26.4 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.26.3 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.26.2 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.26.1 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.26.0 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.25.3 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.25.2 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.25.1 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.25.0 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.24.4 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.24.3 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.24.2 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.24.1 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.24.0 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.23.3 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.23.2 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.23.1 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.23.0 lib/mcollective/exceptions.rb
choria-mcorpc-support-2.23.0.pre lib/mcollective/exceptions.rb