Exception: Toys::ContextualError
- Inherits:
-
StandardError
- Object
- StandardError
- Toys::ContextualError
- Defined in:
- toys-core/lib/toys/errors.rb
Overview
Defined in the toys-core gem
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.
71 72 73 |
# File 'toys-core/lib/toys/errors.rb', line 71 def @banner end |
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
70 71 72 |
# File 'toys-core/lib/toys/errors.rb', line 70 def cause @cause end |
#config_line ⇒ Object
Returns the value of attribute config_line.
74 75 76 |
# File 'toys-core/lib/toys/errors.rb', line 74 def config_line @config_line end |
#config_path ⇒ Object
Returns the value of attribute config_path.
73 74 75 |
# File 'toys-core/lib/toys/errors.rb', line 73 def config_path @config_path end |
#tool_args ⇒ Object
Returns the value of attribute tool_args.
76 77 78 |
# File 'toys-core/lib/toys/errors.rb', line 76 def tool_args @tool_args end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
75 76 77 |
# File 'toys-core/lib/toys/errors.rb', line 75 def tool_name @tool_name end |