Exception: Errors::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rtpush/errors.rb

Direct Known Subclasses

AdapterError, NotImplementedStrategyError

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ Error

Returns a new instance of Error.



3
4
5
# File 'lib/rtpush/errors.rb', line 3

def initialize(msg = nil)
  @message = msg
end

Instance Method Details

#messageObject



7
8
9
# File 'lib/rtpush/errors.rb', line 7

def message
  @message
end