ff39ba5a15
Fixes #4943 ## How was it tested? Local (front + /metadata) Unit tests for utils --------- Co-authored-by: Weiko <corentin@twenty.com>
10 lines
235 B
TypeScript
10 lines
235 B
TypeScript
import { BadRequestException } from '@nestjs/common';
|
|
|
|
export class InvalidStringException extends BadRequestException {
|
|
constructor(string: string) {
|
|
const message = `String "${string}" is not valid`;
|
|
|
|
super(message);
|
|
}
|
|
}
|