@prass/botpress-native
Version:
A simple and powerful SDK for integrating Botpress Chat API with React Native,
14 lines (13 loc) • 369 B
TypeScript
import { AxiosError } from "axios";
/**
* Custom API Exception class extending AxiosError.
* This class extracts only necessary error details for cleaner error handling.
*/
export declare class Exception extends AxiosError {
statusCode?: number;
constructor(error: AxiosError);
/**
* Returns a clean error message.
*/
toString(): string;
}