gplayapi-ts
Version:
Google Play API wrapper in TypeScript
28 lines (26 loc) • 875 B
text/typescript
/**
* Custom error classes for Google Play API
*/
declare class GPError extends Error {
constructor(message: string);
}
declare class GPTokenExpiredError extends GPError {
constructor(message?: string);
}
declare class GPNilPayloadError extends GPError {
constructor(message?: string);
}
declare class GPAuthenticationError extends GPError {
constructor(message?: string);
}
declare class GPNetworkError extends GPError {
status?: number | undefined;
constructor(message?: string, status?: number | undefined);
}
declare class GPValidationError extends GPError {
constructor(message?: string);
}
declare class GPMissingAppDeliveryDataError extends GPError {
constructor(message?: string);
}
export { GPAuthenticationError, GPError, GPMissingAppDeliveryDataError, GPNetworkError, GPNilPayloadError, GPTokenExpiredError, GPValidationError };