Exception: DTK::Client::DtkError::Usage

Inherits:
DTK::Client::DtkError show all
Defined in:
lib/dtk_error.rb

Instance Attribute Summary

Attributes inherited from DTK::Client::DtkError

#backtrace

Instance Method Summary collapse

Methods inherited from DTK::Client::DtkError

raise_error, raise_if_error?

Constructor Details

#initialize(error_msg, opts = {}) ⇒ Usage

Returns a new instance of Usage.



66
67
68
69
# File 'lib/dtk_error.rb', line 66

def initialize(error_msg,opts={})
  msg_to_pass_to_super = "[ERROR] #{error_msg}"
  super(msg_to_pass_to_super,opts)
end