Exception: DTK::Network::Client::Error::DependencyError

Inherits:
DTK::Network::Client::Error show all
Defined in:
lib/client/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(error_msg) ⇒ DependencyError

Returns a new instance of DependencyError.



22
23
24
25
26
27
28
29
# File 'lib/client/error.rb', line 22

def initialize(error_msg)
  errors = {
    'errors' => {
      'message' => error_msg
    }
  }
  super(errors)
end