Exception: Nexpose::PermissionError
- Defined in:
- lib/nexpose/error.rb
Instance Attribute Summary
Attributes inherited from APIError
Instance Method Summary collapse
-
#initialize(req) ⇒ PermissionError
constructor
A new instance of PermissionError.
Methods inherited from APIError
Constructor Details
#initialize(req) ⇒ PermissionError
Returns a new instance of PermissionError.
25 26 27 28 |
# File 'lib/nexpose/error.rb', line 25 def initialize(req) @req = req @reason = 'User does not have permission to perform this action.' end |