Exception: ActiveHook::Server::Errors::Base

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

Direct Known Subclasses

Config, HTTP, Manager, Message, Send, Worker

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ Base



5
6
7
8
# File 'lib/activehook/server/errors.rb', line 5

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

Instance Method Details

#messageObject



10
11
12
# File 'lib/activehook/server/errors.rb', line 10

def message
  "The following error occured: #{@message}"
end