@chelseaapps/recommender documentation

File

src/exceptions/unauthenticated.exception.ts

Extends

HttpException

Constructor

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

export class UnauthenticatedException extends HttpException {
	constructor() {
		super(
			'Invalid or missing authentication details',
			HttpStatus.UNAUTHORIZED,
		);
	}
}

Was this helpful?