azampay
Version:
Azampay NodeJs SDK to help you interact with Azampay API
7 lines (6 loc) • 322 B
TypeScript
import { AxiosError } from 'axios';
import { ErrorResponse } from '../interfaces/base.interface';
export declare const ErrorMessage: (errors: string | {
[key: string]: string | number | Record<string, unknown> | string[];
}) => string;
export declare const sanitizeErrorResponse: (error: AxiosError) => ErrorResponse;