Exception: Notiffany::Notifier::Base::UnavailableError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/notiffany/notifier/base.rb

Direct Known Subclasses

RequireFailed, UnsupportedPlatform

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ UnavailableError

Returns a new instance of UnavailableError.


23
24
25
26
# File 'lib/notiffany/notifier/base.rb', line 23

def initialize(reason)
  super
  @reason = reason
end

Instance Method Details

#messageObject


28
29
30
# File 'lib/notiffany/notifier/base.rb', line 28

def message
  @reason
end