http-problem-details-mapper
Version:
Mapper functions for http-problem-details
9 lines (8 loc) • 365 B
TypeScript
import { ProblemDocument } from 'http-problem-details';
import { IMappingStrategy } from './IMappingStrategy';
import { MapperRegistry } from './MapperRegistry';
export declare class DefaultMappingStrategy implements IMappingStrategy {
readonly registry: MapperRegistry;
constructor(registry: MapperRegistry);
map(error: any): ProblemDocument | null;
}