import { HttpException } from "@nestjs/common"; /** * Thrown when a network error occurs during Google OAuth code exchange. * * Returns HTTP 502 Bad Gateway. * * @example * ```typescript * try { * await fetch(tokenEndpoint, { ... }) * } catch (error) { * throw new GoogleNetworkException(error.message) * } * ``` */ export declare class GoogleNetworkException extends HttpException { readonly reason: string; /** * @param reason - Description of the network error */ constructor(reason: string); }