File size: 197 Bytes
5ca475a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
/**
 * Custom error for API rate limiting (429 errors).
 */
export class RateLimitError extends Error {
  constructor(message: string) {
    super(message);
    this.name = 'RateLimitError';
  }
}