- Docker infrastructure (Dockerfile, docker-compose.yml, genieacs-sim) - AdonisJS v7 app with Inertia.js + Vue 3 - MongoDB integration - CWMP/TR-069 state machine engine - Configuration engine with compliance tracking - Branding: ADAM ACS (favicon, navbar, locales) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
22 lines
502 B
TypeScript
22 lines
502 B
TypeScript
import { Exception } from '@adonisjs/core/exceptions'
|
|
|
|
export class NotFoundException extends Exception {
|
|
static status = 404
|
|
static code = 'E_NOT_FOUND'
|
|
}
|
|
|
|
export class BadRequestException extends Exception {
|
|
static status = 400
|
|
static code = 'E_BAD_REQUEST'
|
|
}
|
|
|
|
export class UnprocessableEntityException extends Exception {
|
|
static status = 422
|
|
static code = 'E_UNPROCESSABLE'
|
|
}
|
|
|
|
export class DatabaseException extends Exception {
|
|
static status = 503
|
|
static code = 'E_DATABASE_ERROR'
|
|
}
|