Exception: ChefWebui::WebuiError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef_webui/webui_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#causeObject (readonly)

Returns the value of attribute cause.



7
8
9
# File 'lib/chef_webui/webui_error.rb', line 7

def cause
  @cause
end