@foxpage/foxpage-node-sdk
Version:
foxpage node sdk
14 lines (13 loc) • 464 B
TypeScript
import { FoxpageStatus } from './enum';
import { IFoxpageErrorType } from './interface';
export type NotMatchRouterErrorDetail = {
path: string;
url?: string;
};
export declare const NotMatchRouterErrorCode = "NOT_MATCH_ROUTER_EXCEPTION";
export declare class NotMatchRouterError extends Error implements IFoxpageErrorType {
code: string;
status: FoxpageStatus;
detail: NotMatchRouterErrorDetail;
constructor(path: string, url?: string);
}