Adding HTTP Query Endpoint and refining some things
This commit is contained in:
@ -398,6 +398,12 @@ export class NoPermissionError extends HttpError {
|
||||
}
|
||||
}
|
||||
|
||||
export class UnauthorizedError extends HttpError {
|
||||
constructor(message: string) {
|
||||
super(message, HttpStatusCode.UNAUTHORIZED)
|
||||
}
|
||||
}
|
||||
|
||||
export class BadRequestError extends HttpError {
|
||||
constructor(message: string) {
|
||||
super(message, HttpStatusCode.BAD_REQUEST)
|
||||
|
Reference in New Issue
Block a user