Skip to content

basalt / files/src / FileInfectedError

Class: FileInfectedError ​

Defined in: files/src/files.ts:70

requireScan is on and the last scan reported this file as not clean. It is never served.

Extends ​

Constructors ​

Constructor ​

> new FileInfectedError(): FileInfectedError

Defined in: files/src/files.ts:72

Returns ​

FileInfectedError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


status ​

> readonly status: 403 = 403

Defined in: files/src/files.ts:71

Released under the MIT License.