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.
81 82 83 |
# File 'lib/toys/errors.rb', line 81 def @banner end |
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
80 81 82 |
# File 'lib/toys/errors.rb', line 80 def cause @cause end |
#config_line ⇒ Object
Returns the value of attribute config_line.
84 85 86 |
# File 'lib/toys/errors.rb', line 84 def config_line @config_line end |
#config_path ⇒ Object
Returns the value of attribute config_path.
83 84 85 |
# File 'lib/toys/errors.rb', line 83 def config_path @config_path end |
#tool_args ⇒ Object
Returns the value of attribute tool_args.
86 87 88 |
# File 'lib/toys/errors.rb', line 86 def tool_args @tool_args end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
85 86 87 |
# File 'lib/toys/errors.rb', line 85 def tool_name @tool_name end |