@mosip/react-inji-verify-sdk 0.15.0-beta.7 → 0.15.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,6 +146,11 @@ export type OpenID4VPVerificationProps = ExclusivePresentationDefinition & Exclu
|
|
|
146
146
|
* Callback triggered when an error occurs during the verification process.
|
|
147
147
|
* This is a required field to ensure proper error handling.
|
|
148
148
|
*/
|
|
149
|
-
onError: (error:
|
|
149
|
+
onError: (error: AppError) => void;
|
|
150
|
+
};
|
|
151
|
+
export type AppError = {
|
|
152
|
+
errorMessage: string;
|
|
153
|
+
errorCode?: string;
|
|
154
|
+
transactionId?: string | null;
|
|
150
155
|
};
|
|
151
156
|
export {};
|