Exception: ActiveHook::Server::Errors::Base
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveHook::Server::Errors::Base
show all
- Defined in:
- lib/activehook/server/errors.rb
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
#message ⇒ Object
10
11
12
|
# File 'lib/activehook/server/errors.rb', line 10
def message
"The following error occured: #{@message}"
end
|