Exception: EML::REST::AuthenticationError
- Inherits:
-
EML::RESTError
- Object
- StandardError
- Error
- EML::RESTError
- EML::REST::AuthenticationError
- Defined in:
- lib/eml/error/rest/authentication.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, response = nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Methods inherited from EML::RESTError
#http_body, #http_headers, #http_status, #url
Constructor Details
#initialize(message = nil, response = nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
13 14 15 16 17 18 |
# File 'lib/eml/error/rest/authentication.rb', line 13 def initialize( = nil, response = nil) ||= "Your credentials were rejected by the server. " \ "Please confirm you have set your username and password in the " \ "appropriate country configuration" super(, response) end |