@sumsub/fisherman
Version:
The Sumsub Fisherman is a powerful tool that helps developers integrate fraud detection capabilities into their applications. With Fisherman, you can easily identify and prevent fraudulent activities within your system, providing a safer and more secure e
9 lines (8 loc) • 372 B
TypeScript
export type FishermanErrorType = 'InvalidToken';
export type FishermanError = {
type: FishermanErrorType;
message: string;
};
export type ErrorHandlerFn = (error: FishermanError) => void;
/** @deprecated No need to catch this error anymore. Consider setting {@link InitParams.accessTokenUpdateHandler} function */
export declare const TokenError: FishermanError;