mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
record_main & record_detail
This commit is contained in:
1 parent
ffa193b5dd
commit
5b4f5b6520
37 files changed
+231
-275
No files matched your search
+2
-2
@@ -21,7 +21,7 @@ class ForbiddenError extends UserFacingError {
|
||||
}
|
||||
class NotFoundError extends UserFacingError {
|
||||
constructor(type) {
|
||||
super(type);
|
||||
super(type || 'NotFoundError');
|
||||
this.code = 404;
|
||||
}
|
||||
}
|
||||
@@ -107,7 +107,7 @@ class ContestNotFoundError extends NotFoundError {
|
||||
module.exports = {
|
||||
BadRequestError, ForbiddenError, NotFoundError,
|
||||
LoginError, UserAlreadyExistError, InvalidTokenError,
|
||||
UserNotFoundError, VerifyPasswordError,
|
||||
UserNotFoundError, VerifyPasswordError,
|
||||
OpcountExceededError, PermissionError, NoProblemError,
|
||||
ValidationError, ProblemNotFoundError, TrainingNotFoundError,
|
||||
ContestNotFoundError, RecordNotFoundError
|
||||
|
||||
Reference in new issue
Block a user