Method: Alma::StandardError#initialize
- Defined in:
- lib/alma/error.rb
#initialize(message, loggable = {}) ⇒ StandardError
Returns a new instance of StandardError.
19 20 21 22 23 24 25 |
# File 'lib/alma/error.rb', line 19 def initialize(, loggable = {}) if Alma.configuration.enable_loggable = { error: }.merge(loggable).to_json end super end |