Exception: Logux::WithMetaError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/logux/rack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, meta: nil) ⇒ WithMetaError

Returns a new instance of WithMetaError.



21
22
23
24
# File 'lib/logux/rack.rb', line 21

def initialize(msg, meta: nil)
  @meta = meta
  super(msg)
end

Instance Attribute Details

#metaObject (readonly)

Returns the value of attribute meta.



19
20
21
# File 'lib/logux/rack.rb', line 19

def meta
  @meta
end