export class BadRequestException extends Error { constructor(message: string) { super(message); this.name = 'BadRequestException'; } } export class UnauthorizedException extends Error { constructor(message: string) { super(message); this.name = 'UnauthorizedException'; } } export class ForbiddenException extends Error { constructor(message: string) { super(message); this.name = 'ForbiddenException'; } } export class NotFoundException extends Error { constructor(message: string) { super(message); this.name = 'NotFoundException'; } } export class ConflictException extends Error { constructor(message: string) { super(message); this.name = 'ConflictException'; } } export class InternalServerErrorException extends Error { constructor(message: string) { super(message); this.name = 'InternalServerErrorException'; } }