@chelseaapps/recommender documentation

File

src/exceptions/invalid-url.exception.ts

Extends

HttpException

Constructor

import { HttpException, HttpStatus } from '@nestjs/common';

export class NotFoundException extends HttpException {
	constructor() {
		super('Invalid URL', HttpStatus.NOT_FOUND);
	}
}

Was this helpful?