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:
parent
34514761f5
commit
8d9c19e595
18 changed files with 5014 additions and 3578 deletions
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue