@chelseaapps/recommender documentation

File

src/exceptions/property-not-found.exception.ts

Extends

HttpException

Constructor

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

export class PropertyNotFoundException extends HttpException {
	constructor() {
		super(
			'Property of given name is not present in the database',
			HttpStatus.NOT_FOUND,
		);
	}
}

Was this helpful?