Exception: EML::TNS::AuthenticationError
- Inherits:
-
EML::TNSError
- Object
- StandardError
- Error
- EML::TNSError
- EML::TNS::AuthenticationError
- Defined in:
- lib/eml/error/tns/authentication.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
8 9 10 11 12 13 14 |
# File 'lib/eml/error/tns/authentication.rb', line 8 def initialize( = nil) ||= "An unexpected authorization token was supplied in the " \ "request. Please check that you have set the correct tns_username " \ "and tns_password in your config and that EML is using the same " \ "credentials. Failing this, it is possible you are being attacked" super end |