import { HttpStatus } from '@nestjs/common'; import { DocumentServiceExceptionError } from '../classes/document-service-error'; import { LoggedException } from './logged.exception'; export class DocumentServiceException extends LoggedException { constructor(error) { super( 'DocumentServiceException', 'Internal Server Error - DMS', HttpStatus.INTERNAL_SERVER_ERROR, new DocumentServiceExceptionError(error) ); } }