UNPKG

@nestjs/common

Version:

Decorators, pipes, exceptions and utilities for NestJS applications: @Controller(), @Injectable(), @Body(), ValidationPipe, HttpException and more.

8 lines (7 loc) • 213 B
export type HttpExceptionBodyMessage = string | string[] | number; export interface HttpExceptionBody { statusCode: number; message: HttpExceptionBodyMessage; error?: string; errorCode?: string; }