@felixgeelhaar/govee-api-client
Version:
Enterprise-grade TypeScript client library for the Govee Developer REST API
19 lines • 612 B
TypeScript
import { GoveeApiClientError } from './GoveeApiClientError';
export declare class InvalidApiKeyError extends GoveeApiClientError {
readonly code = "INVALID_API_KEY";
constructor(message?: string, cause?: Error);
static fromUnauthorizedResponse(responseBody?: {
message?: string;
}): InvalidApiKeyError;
getRecommendation(): string;
toObject(): {
name: string;
code: string;
message: string;
timestamp: string;
recommendation: string;
stack?: string;
cause?: unknown;
};
}
//# sourceMappingURL=InvalidApiKeyError.d.ts.map