STDSErrorMessage Class Reference

Inherits from NSObject
Conforms to STDSJSONDecodable
STDSJSONEncodable
Declared in STDSErrorMessage.h

Overview

STDSErrorMessage represents an error message that is returned by the ACS or to be sent to the ACS.

– initWithErrorCode:errorComponent:errorDescription:errorDetails:messageVersion:acsTransactionIdentifier:errorMessageType:

Designated initializer for STDSErrorMessage.

- (instancetype)initWithErrorCode:(NSString *)errorCode errorComponent:(NSString *)errorComponent errorDescription:(NSString *)errorDescription errorDetails:(nullable NSString *)errorDetails messageVersion:(NSString *)messageVersion acsTransactionIdentifier:(nullable NSString *)acsTransactionIdentifier errorMessageType:(NSString *)errorMessageType

Parameters

errorCode

The error code.

errorComponent

The component that identified the error.

errorDescription

Text describing the error.

errorDetails

Additional error details. Optional.

Discussion

Designated initializer for STDSErrorMessage.

Declared In

STDSErrorMessage.h

– init

STDSErrorMessage should not be directly initialized.

- (instancetype)init

Discussion

STDSErrorMessage should not be directly initialized.

Declared In

STDSErrorMessage.h

  errorCode

The error code.

@property (nonatomic, readonly) NSString *errorCode

Discussion

The error code.

Declared In

STDSErrorMessage.h

  errorComponent

The 3-D Secure component that identified the error.

@property (nonatomic, readonly) NSString *errorComponent

Discussion

The 3-D Secure component that identified the error.

Declared In

STDSErrorMessage.h

  errorDescription

Text describing the error.

@property (nonatomic, readonly) NSString *errorDescription

Discussion

Text describing the error.

Declared In

STDSErrorMessage.h

  errorDetails

Additional error details.

@property (nonatomic, nullable, readonly) NSString *errorDetails

Discussion

Additional error details.

Declared In

STDSErrorMessage.h

  messageVersion

The protocol version identifier.

@property (nonatomic, readonly) NSString *messageVersion

Discussion

The protocol version identifier.

Declared In

STDSErrorMessage.h

  acsTransactionIdentifier

The ACS transaction identifier.

@property (nonatomic, readonly, nullable) NSString *acsTransactionIdentifier

Discussion

The ACS transaction identifier.

Declared In

STDSErrorMessage.h

  errorMessageType

The message type that was identified as erroneous.

@property (nonatomic, readonly) NSString *errorMessageType

Discussion

The message type that was identified as erroneous.

Declared In

STDSErrorMessage.h

– NSErrorValue

A representation of the STDSErrorMessage as an NSError

- (NSError *)NSErrorValue

Discussion

A representation of the STDSErrorMessage as an NSError

Declared In

STDSErrorMessage.h