mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
chore(repo): remove dead code and useless tests (#3375)
This commit is contained in:
1 parent
7e177a1c90
commit
1cd62eb661
1391 files changed
+783
-120415
No files matched your search
@@ -1,16 +0,0 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {APIErrorCodes} from '@fluxer/constants/src/ApiErrorCodes';
|
||||
import {BadRequestError} from '@fluxer/errors/src/domains/core/BadRequestError';
|
||||
|
||||
export class CannotShrinkReservedSlotsError extends BadRequestError {
|
||||
constructor(reservedSlotIndices: Array<number>) {
|
||||
super({
|
||||
code: APIErrorCodes.CANNOT_SHRINK_RESERVED_SLOTS,
|
||||
messageVariables: {
|
||||
count: reservedSlotIndices.length,
|
||||
indices: reservedSlotIndices.join(', '),
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user