1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-25 08:09:41 +02:00

Upgrade packages (#149)

* update babel, postcss and webpack

* update editor packages

* update linter packages
This commit is contained in:
Nikita Melnikov 2022-03-06 11:38:59 +04:00 committed by GitHub
parent 34514761f5
commit 8d9c19e595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 5014 additions and 3578 deletions

View file

@ -5,17 +5,17 @@
* @property {string} message - detail about the exception
*/
class HttpException extends Error {
public status: number;
public message: string;
/**
* @param status - status of the exception
* @param message - message about the exception
*/
constructor(status: number, message: string) {
super(message);
this.status = status;
this.message = message;
}
public status: number;
public message: string;
/**
* @param status - status of the exception
* @param message - message about the exception
*/
constructor(status: number, message: string) {
super(message);
this.status = status;
this.message = message;
}
}
export default HttpException;