import { HttpException } from "@nestjs/common"; /** * Thrown when Google's token endpoint returns a 5xx server error during * OAuth code exchange. * * Returns HTTP 502 Bad Gateway. * * @example * ```typescript * if (response.status >= 500) { * throw new GoogleServiceException(description) * } * ``` */ export declare class GoogleServiceException extends HttpException { readonly reason: string; /** * @param reason - Description of the Google service error */ constructor(reason: string); }