MCPcopy Create free account
hub / github.com/IsAvaible/AngularModUpdater / isRateLimitError

Method isRateLimitError

src/app/libraries/github/github.ts:73–75  ·  view source on GitHub ↗

* Check if error is rate limit related (API-specific implementation)

(error: any)

Source from the content-addressed store, hash-verified

71 * Check if error is rate limit related (API-specific implementation)
72 */
73 protected override isRateLimitError(error: any): boolean {
74 return !!((error && error.status === 429) || error.status == 403);
75 }
76
77 /**
78 * Gets releases for a GitHub repository

Callers 2

isRetryableErrorFunction · 0.45
createErrorHandlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected