UNPKG

problem-details

Version:

HTTP problem details model based on RFC7807

9 lines (8 loc) 264 B
import { HttpStatus } from './http-status'; export declare class ProblemDefinition { type: string; title: string; status: HttpStatus | number; code: string; constructor(type: string, title: string, status: HttpStatus | number, code: string); }