Class: Dapp::Error::Base

Inherits:
NetStatus::Exception
  • Object
show all
Defined in:
lib/dapp/error/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(net_status = {}) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/dapp/error/base.rb', line 4

def initialize(net_status = {})
  super({ context: self.class.to_s.split('::').last.downcase }.merge(net_status))
end