Class: Dapp::Error::Default

Inherits:
Base
  • Object
show all
Includes:
Mod::User
Defined in:
lib/dapp/error/default.rb

Instance Method Summary collapse

Methods included from Mod::User

#user?

Constructor Details

#initialize(net_status = {}) ⇒ Default

Returns a new instance of Default.



6
7
8
# File 'lib/dapp/error/default.rb', line 6

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