Sha256: 45a7173eab780466f8e354acc52c0e0f053660a2887d22ca06f9b75d75f5cb0a

Contents?: true

Size: 910 Bytes

Versions: 15

Compression:

Stored size: 910 Bytes

Contents

# Copyright (c) 2012 National ICT Australia Limited (NICTA).
# This software may be used and distributed solely under the terms of the MIT license (License).
# You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT.
# By downloading or using this software you accept the terms and the liability disclaimer in the License.

# Error during message processing,  include message related information cid and replyto, for publishing  errors to pubsub server
#
class OmfRc::MessageProcessError < StandardError
  attr_reader :cid, :replyto

  def initialize(cid, replyto, msg = nil)
    @cid = cid
    @replyto = replyto
    super(msg)
  end
end

class OmfRc::TopicNotSubscribedError < StandardError; end

# No method error that caused by configure/request unknown property
#
class OmfRc::UnknownPropertyError < NoMethodError
  def initialize(msg = nil)
    super(msg)
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
omf_rc-6.1.1 lib/omf_rc/omf_error.rb
omf_rc-6.1.1.pre lib/omf_rc/omf_error.rb
omf_rc-6.1.0 lib/omf_rc/omf_error.rb
omf_rc-6.0.8.pre.5 lib/omf_rc/omf_error.rb
omf_rc-6.0.7.1 lib/omf_rc/omf_error.rb
omf_rc-6.0.8.pre.4 lib/omf_rc/omf_error.rb
omf_rc-6.0.8.pre.3 lib/omf_rc/omf_error.rb
omf_rc-6.0.8.pre.2 lib/omf_rc/omf_error.rb
omf_rc-6.0.8.pre.1 lib/omf_rc/omf_error.rb
omf_rc-6.0.7 lib/omf_rc/omf_error.rb
omf_rc-6.0.6 lib/omf_rc/omf_error.rb
omf_rc-6.0.5 lib/omf_rc/omf_error.rb
omf_rc-6.0.4.1 lib/omf_rc/omf_error.rb
omf_rc-6.0.4 lib/omf_rc/omf_error.rb
omf_rc-6.0.4.pre.1 lib/omf_rc/omf_error.rb