Exception: Apidepth::CLI::TestCmd::TestError
- Inherits:
-
StandardError
- Object
- StandardError
- Apidepth::CLI::TestCmd::TestError
- Defined in:
- lib/apidepth/cli/test_cmd.rb
Instance Attribute Summary collapse
-
#hint ⇒ Object
readonly
Returns the value of attribute hint.
Instance Method Summary collapse
-
#initialize(msg, hint: nil) ⇒ TestError
constructor
A new instance of TestError.
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
#hint ⇒ Object (readonly)
Returns the value of attribute hint.
45 46 47 |
# File 'lib/apidepth/cli/test_cmd.rb', line 45 def hint @hint end |