@farris/command-services-vue
Version:
Render schema to web page with farris ui.
18 lines (16 loc) • 587 B
TypeScript
import { FormMessageService } from '../../form-message.service';
import { IExceptionStrategy, ServerException } from '../types';
import { ExceptionStrategy } from './exception-strategy';
/**
* 错误级别异常处理
*/
export declare class ErrorExceptionStrategy extends ExceptionStrategy implements IExceptionStrategy {
messagerService: FormMessageService;
constructor(messagerService: FormMessageService);
handleException(error: ServerException): void;
private handleErrorLevel;
/**
* 在控制台中显示错误信息
*/
private displayError;
}