IO Wallet SDK
    Preparing search index...

    An error subclass thrown when an unsupported Italian Wallet specification version is requested.

    This error is thrown when:

    • A feature or method is called with a version that it doesn't support
    • An invalid version identifier is provided
    throw new ItWalletSpecsVersionError(
    'createCredentialRequest',
    '2.0.0',
    [ItWalletSpecsVersion.V1_0, ItWalletSpecsVersion.V1_3]
    );
    // Error: Feature "createCredentialRequest" does not support version 2.0.0.
    // Supported versions: V1_0, V1_3

    Hierarchy

    • Error
      • ItWalletSpecsVersionError
    Index

    Constructors

    Properties

    cause?: unknown
    code: "IT_WALLET_SPECS_VERSION_ERROR"
    feature: string
    message: string
    name: string
    requestedVersion: string
    stack?: string
    supportedVersions: readonly string[]
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: Object
      • OptionalconstructorOpt: Function

      Returns void