Exception: ActiveHook::Server::Errors::Base
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveHook::Server::Errors::Base
- Defined in:
- lib/activehook/server/errors.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ Base
constructor
A new instance of Base.
- #message ⇒ Object
Constructor Details
#initialize(msg = nil) ⇒ Base
Returns a new instance of Base.
5 6 7 8 |
# File 'lib/activehook/server/errors.rb', line 5 def initialize(msg = nil) = msg log_error end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/activehook/server/errors.rb', line 10 def "The following error occured: #{@message}" end |