Exception: Nexpose::AuthenticationFailed

Inherits:
APIError
  • Object
show all
Defined in:
lib/nexpose/error.rb

Instance Attribute Summary

Attributes inherited from APIError

#code, #reason, #req

Instance Method Summary collapse

Methods inherited from APIError

#to_s

Constructor Details

#initialize(req) ⇒ AuthenticationFailed

Returns a new instance of AuthenticationFailed.



19
20
21
22
# File 'lib/nexpose/error.rb', line 19

def initialize(req)
  @req    = req
  @reason = 'Login Failed'
end