Exception: ChefLicensing::ListLicensesError
- Defined in:
- lib/chef-licensing/exceptions/list_licenses_error.rb
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(message, status_code) ⇒ ListLicensesError
constructor
A new instance of ListLicensesError.
Constructor Details
#initialize(message, status_code) ⇒ ListLicensesError
Returns a new instance of ListLicensesError.
7 8 9 10 |
# File 'lib/chef-licensing/exceptions/list_licenses_error.rb', line 7 def initialize(, status_code) @status_code = status_code super() end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
5 6 7 |
# File 'lib/chef-licensing/exceptions/list_licenses_error.rb', line 5 def status_code @status_code end |