@chelseaapps/recommender documentation
File
src/exceptions/invalid-user-id.exception.ts
Extends
HttpException
Constructor
import { HttpException, HttpStatus } from '@nestjs/common';
export class InvalidUserIDException extends HttpException {
constructor() {
super(
'The userId does not match ^[a-zA-Z0-9_-:@.]+$',
HttpStatus.BAD_REQUEST,
);
}
}Was this helpful?