Exception: ChefWebui::WebuiError
- Inherits:
-
StandardError
- Object
- StandardError
- ChefWebui::WebuiError
- Defined in:
- lib/chef_webui/webui_error.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(cause = nil) ⇒ WebuiError
constructor
A new instance of WebuiError.
Constructor Details
#initialize(cause = nil) ⇒ WebuiError
Returns a new instance of WebuiError.
3 4 5 |
# File 'lib/chef_webui/webui_error.rb', line 3 def initialize(cause = nil) @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
7 8 9 |
# File 'lib/chef_webui/webui_error.rb', line 7 def cause @cause end |