Class: Dapp::Error::Base
- Inherits:
-
NetStatus::Exception
- Object
- NetStatus::Exception
- Dapp::Error::Base
- Defined in:
- lib/dapp/error/base.rb
Direct Known Subclasses
Config::Error::Config, Dimg::Error::Base, Dapp, Dappfile, Shellout, Dapp::Exception::Base
Instance Method Summary collapse
-
#initialize(net_status = {}) ⇒ Base
constructor
A new instance of Base.
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 |