Exception: Toys::ContextualError
- Inherits:
-
StandardError
- Object
- StandardError
- Toys::ContextualError
- Defined in:
- lib/toys/errors.rb
Overview
A wrapper exception used to provide user-oriented context for an exception
Instance Attribute Summary collapse
-
#banner ⇒ Object
readonly
Returns the value of attribute banner.
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#config_line ⇒ Object
Returns the value of attribute config_line.
-
#config_path ⇒ Object
Returns the value of attribute config_path.
-
#tool_args ⇒ Object
Returns the value of attribute tool_args.
-
#tool_name ⇒ Object
Returns the value of attribute tool_name.
Instance Attribute Details
#banner ⇒ Object (readonly)
Returns the value of attribute banner.
63 64 65 |
# File 'lib/toys/errors.rb', line 63 def end |
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
62 63 64 |
# File 'lib/toys/errors.rb', line 62 def cause @cause end |
#config_line ⇒ Object
Returns the value of attribute config_line.
66 67 68 |
# File 'lib/toys/errors.rb', line 66 def config_line @config_line end |
#config_path ⇒ Object
Returns the value of attribute config_path.
65 66 67 |
# File 'lib/toys/errors.rb', line 65 def config_path @config_path end |
#tool_args ⇒ Object
Returns the value of attribute tool_args.
68 69 70 |
# File 'lib/toys/errors.rb', line 68 def tool_args @tool_args end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
67 68 69 |
# File 'lib/toys/errors.rb', line 67 def tool_name @tool_name end |