PingOneSDKException

public final class PingOneSDKException extends Exception

Exception thrown by suspend variants of the PingOne SDK APIs when an operation fails.

Usage

try {
PingOne.configure(context, PingOneGeo.NA)
} catch (e: PingOneSDKException) {
val code = e.error.code
val message = e.error.message
}

Parameters

error

The underlying PingOneSDKError containing the error code and message.

Copyright © 2026 Ping Identity. All rights reserved.

Constructors

Properties

Link copied to clipboard
private final PingOneSDKError error

The underlying PingOneSDKError containing the error code and human-readable message.

Functions

Link copied to clipboard
public final PingOneSDKError getError()