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.
61 62 63 |
# File 'lib/toys/errors.rb', line 61 def @banner end |
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
60 61 62 |
# File 'lib/toys/errors.rb', line 60 def cause @cause end |
#config_line ⇒ Object
Returns the value of attribute config_line.
64 65 66 |
# File 'lib/toys/errors.rb', line 64 def config_line @config_line end |
#config_path ⇒ Object
Returns the value of attribute config_path.
63 64 65 |
# File 'lib/toys/errors.rb', line 63 def config_path @config_path end |
#tool_args ⇒ Object
Returns the value of attribute tool_args.
66 67 68 |
# File 'lib/toys/errors.rb', line 66 def tool_args @tool_args end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
65 66 67 |
# File 'lib/toys/errors.rb', line 65 def tool_name @tool_name end |