class Flor::Caller::WrappedSpawnError
Attributes
cause[R]
Public Class Methods
new(conf, ctx, err)
click to toggle source
Calls superclass method
Flor::Caller::SpawnError::new
# File lib/flor/unit/caller.rb, line 283 def initialize(conf, ctx, err) @cause = err super(conf, ctx, "wrapped: #{err.class.name}: #{err.message}") set_backtrace(err.backtrace) end
Public Instance Methods
add_details(details)
click to toggle source
# File lib/flor/unit/caller.rb, line 292 def add_details(details) details[:cause] = { kla: @cause.class.name, msg: @cause.message } end