MulterException
@tsed/platform-multer
Usage
typescript
import { MulterException } from "@tsed/platform-multer";
See /packages/platform/platform-multer/src/common/errors/MulterException.ts.
Overview
ts
class MulterException extends BadRequest {
origin: MulterError;
constructor(er: MulterError);
}
Description
Exception thrown when a Multer error occurs during file upload operations. Extends the BadRequest exception with Multer-specific properties.
Constructor
ts
constructor(er: MulterError);
Creates a new MulterException
origin
ts
origin: MulterError;