TASKS-1823 WebManager module

This commit is contained in:
Igor Martyniuk
2026-08-28 08:35:58 +00:00
parent fdb2cf3837
commit c93d8c025b
654 changed files with 26232 additions and 6075 deletions
@@ -0,0 +1,55 @@
import ApiException from '#exceptions/api_exception'
export class FilenameMissingExtensionException extends ApiException {
static status = 400
static code = 'E_FILE_NAME_MISSING_EXTENSION'
constructor(message: string = 'File name missing extension') {
super(message)
}
}
export class EntryNameNotChangedException extends ApiException {
static status = 400
static code = 'E_ENTRY_NAME_NOT_CHANGED'
constructor(message: string = 'Entry name was not changed') {
super(message)
}
}
export class EntryExistsException extends ApiException {
static status = 400
static code = 'E_ENTRY_ALREADY_EXISTS'
constructor(message: string = 'Entry already exists') {
super(message)
}
}
export class DirExistsException extends ApiException {
static status = 400
static code = 'E_DIRECTORY_ALREADY_EXISTS'
constructor(message: string = 'Directory already exists') {
super(message)
}
}
export class FileNotFoundException extends ApiException {
static status = 404
static code = 'E_FILE_NOT_FOUND'
constructor(message: string = 'File not found') {
super(message)
}
}
export class DirNotFoundException extends ApiException {
static status = 404
static code = 'E_DIR_NOT_FOUND'
constructor(message: string = 'Directory not found') {
super(message)
}
}