Exception: Wsaa::AuthenticationError
- Defined in:
- lib/wsaa/errors.rb
Overview
Raised when WSAA authentication fails.
Instance Attribute Summary collapse
-
#fault_code ⇒ String?
readonly
The SOAP fault code from WSAA.
-
#fault_string ⇒ String?
readonly
The SOAP fault message from WSAA.
Instance Method Summary collapse
-
#initialize(message, fault_code: nil, fault_string: nil) ⇒ AuthenticationError
constructor
Creates a new AuthenticationError.
Constructor Details
#initialize(message, fault_code: nil, fault_string: nil) ⇒ AuthenticationError
Creates a new AuthenticationError.
28 29 30 31 32 |
# File 'lib/wsaa/errors.rb', line 28 def initialize(, fault_code: nil, fault_string: nil) @fault_code = fault_code @fault_string = fault_string super() end |
Instance Attribute Details
#fault_code ⇒ String? (readonly)
The SOAP fault code from WSAA.
19 20 21 |
# File 'lib/wsaa/errors.rb', line 19 def fault_code @fault_code end |
#fault_string ⇒ String? (readonly)
The SOAP fault message from WSAA.
19 20 21 |
# File 'lib/wsaa/errors.rb', line 19 def fault_string @fault_string end |