Exception: EML::TNS::AuthenticationError

Inherits:
EML::TNSError show all
Defined in:
lib/eml/error/tns/authentication.rb

Instance Attribute Summary

Attributes inherited from Error

#message

Instance Method Summary collapse

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(message = nil)
  message ||= "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