Exception: Apidepth::CLI::TestCmd::TestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/apidepth/cli/test_cmd.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, hint: nil) ⇒ TestError

Returns a new instance of TestError.



47
48
49
50
# File 'lib/apidepth/cli/test_cmd.rb', line 47

def initialize(msg, hint: nil)
  super(msg)
  @hint = hint
end

Instance Attribute Details

#hintObject (readonly)

Returns the value of attribute hint.



45
46
47
# File 'lib/apidepth/cli/test_cmd.rb', line 45

def hint
  @hint
end