@cloudbase/utilities
Version:
cloudbase javascript sdk utilities
12 lines (11 loc) • 386 B
TypeScript
interface ICatchErrorsDecoratorOptions {
mode?: 'sync' | 'async';
customInfo?: {
className?: string;
methodName?: string;
};
title?: string;
messages?: string[];
}
export declare function catchErrorsDecorator(options: ICatchErrorsDecoratorOptions): (target: any, methodName: string, descriptor: TypedPropertyDescriptor<Function>) => void;
export {};