ping-identity
    Preparing search index...

    Class DeviceClientError

    Error thrown when Device Client operations fail.

    Extends PingError to allow per-package instanceof narrowing.

    try {
    await client.oath.get();
    } catch (err) {
    if (err instanceof DeviceClientError && err.code === 'DEVICE_CLIENT_INVALID_TOKEN') {
    // trigger re-authentication
    }
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods