UNPKG

mpesajs

Version:

A Node.js SDK for seamless integration with M-Pesa payment gateway, providing easy-to-use methods for handling transactions, payments, and API interactions

9 lines (8 loc) 302 B
import { MpesaError } from './ErrorHandlers'; export declare class AuthenticationError extends MpesaError { errorCode?: string | undefined; constructor(message: string, errorCode?: string | undefined); } export declare class AuthenticationErrorHandler { static handle(error: any): never; }