MCPcopy Create free account
hub / github.com/context-space/context-space / ApiKeyLimitError

Class ApiKeyLimitError

web/src/hooks/use-api-keys.ts:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15export const API_KEY_MAXIMUM_LIMIT = API_KEY_LIMIT
16
17class 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
25export function useApiKeyDetails() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected