import { text } from '@rsdk/common'; import { BootstrapException } from '../../base'; import { Exception } from '../../metadata'; @Exception({ description: text` Means that you use some HTTP routing decorators (ex: Get, Post etc.) but there is no HTTP-tranport in you application. `, }) export class NoHttpException extends BootstrapException { constructor() { super(text` It is impossible to register HTTP route because there is no HTTP-transport in your application. Please add HTTP-transport or remove HTTP routing decorators: @Get(), @Post(), @Put(), etc. `); } }