UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

14 lines (13 loc) 782 B
import { Injector } from '@angular/core'; import { StringMap } from '../../core/public-api'; import { TranslateService } from '../../translate/public-api'; import { ErrorMapperInterface, ErrorsMapperFn } from './types'; import * as i0 from "@angular/core"; export declare abstract class BaseErrorsMapper { translate: TranslateService; mapperService: ErrorMapperInterface; protected getErrorMessage(errors: Record<string, any>, errorsMapper?: StringMap, errorsMapperFn?: ErrorsMapperFn, namePrefix?: string, ignoreUnknownError?: boolean): string; constructor(injector: Injector); static ɵfac: i0.ɵɵFactoryDeclaration<BaseErrorsMapper, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<BaseErrorsMapper, never, never, {}, {}, never, never, false, never>; }