mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-30 21:30:59 +01:00
Switch from eslint to oxlint
Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
@@ -8,15 +8,12 @@ export type RateLimitedErrorPayloadType = Readonly<{
|
||||
export class RateLimitedError extends Error {
|
||||
public readonly retryAfterSecs: number;
|
||||
|
||||
// eslint-disable-next-line camelcase
|
||||
constructor({ retry_after }: RateLimitedErrorPayloadType) {
|
||||
super(
|
||||
'RateLimitedError: got 4008 close code from CDSI, ' +
|
||||
// eslint-disable-next-line camelcase
|
||||
`retry_after=${retry_after}`
|
||||
);
|
||||
|
||||
// eslint-disable-next-line camelcase
|
||||
this.retryAfterSecs = retry_after ?? 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user