27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
import { OakException, OpRecord } from 'oak-domain/lib/types';
|
|
import { EntityDict } from '../oak-app-domain/index';
|
|
export declare class ExternalPayUtilException<ED extends EntityDict> extends OakException<ED> {
|
|
reason: any;
|
|
constructor(reason: any, message?: string, _module?: string, params?: Record<string, any>);
|
|
getSerialData(): {
|
|
reason: any;
|
|
name: string;
|
|
message: string;
|
|
_module: string | undefined;
|
|
opRecords: OpRecord<ED>[];
|
|
tag1: string | undefined;
|
|
tag2: boolean | undefined;
|
|
tag3: any;
|
|
};
|
|
}
|
|
export declare class RefundExceedMax<ED extends EntityDict> extends OakException<ED> {
|
|
constructor(message?: string, _module?: string, params?: Record<string, any>);
|
|
}
|
|
export declare class PayUnRefundable<ED extends EntityDict> extends OakException<ED> {
|
|
constructor(message?: string, _module?: string, params?: Record<string, any>);
|
|
}
|
|
export declare class StartPayFailure<ED extends EntityDict> extends OakException<ED> {
|
|
constructor(message: string);
|
|
}
|
|
export declare function makeException<ED extends EntityDict>(msg: string | object): OakException<ED> | undefined;
|