Error

data class Error(val code: Int?, val message: String?, val userInfo: Map<String, String> = emptyMap())

Structured representation of a single PingOne SDK error.

Instances are produced by com.pingidentity.pingonemfa.util.ErrorParser from the native type and exposed through PingOneMFAException.internalErrorsList.

Constructors

Link copied to clipboard
constructor(code: Int?, message: String?, userInfo: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
val code: Int?

Numeric error code returned by the PingOne MFA native SDK. For details on returned error codes, see the native SDK documentation: https://pingidentity.github.io/pingone-mobile-sdk-android/-ping-one%20-m-f-a%20-android%20-s-d-k/com.pingidentity.pingidsdkv2.error/-ping-one-s-d-k-error-type/index.html

Link copied to clipboard

Human-readable error message returned by the native SDK.

Link copied to clipboard

Additional diagnostic key/value pairs returned by the server. Intended for use for logging or debugging. The map may be empty if the server did not include additional context.