| 15 | export const API_KEY_MAXIMUM_LIMIT = API_KEY_LIMIT |
| 16 | |
| 17 | class ApiKeyLimitError extends Error { |
| 18 | constructor(limit: number, message: string) { |
| 19 | super(message) |
| 20 | this.name = "API_KEY_LIMIT_REACHED" |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | // Custom hook for fetching individual API key details |
| 25 | export function useApiKeyDetails() { |
nothing calls this directly
no outgoing calls
no test coverage detected