Rocky_Mountain_Vending/.pnpm-store/v10/files/c2/74647618dd56416af991327f75e383140ccb2138a13f7abfe335642e5df724ba7f9019cb2eb8eceed2425ceb6ca46454252e1367e0047e218fd5d38bc11651
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

102 lines
3.3 KiB
Text

import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
import { OAuth2ErrorCode } from "./enums";
import { SigninServiceException as __BaseException } from "./SigninServiceException";
/**
* Error thrown for access denied scenarios with flexible HTTP status mapping
*
* Runtime HTTP Status Code Mapping:
* - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED
* - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS
*
* The specific HTTP status code is determined at runtime based on the error enum value.
* Consumers should use the error field to determine the specific access denial reason.
* @public
*/
export declare class AccessDeniedException extends __BaseException {
readonly name: "AccessDeniedException";
readonly $fault: "client";
/**
* OAuth 2.0 error code indicating the specific type of access denial
* Can be TOKEN_EXPIRED, AUTHCODE_EXPIRED, USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS
* @public
*/
error: OAuth2ErrorCode | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
}
/**
* Error thrown when an internal server error occurs
*
* HTTP Status Code: 500 Internal Server Error
*
* Used for unexpected server-side errors that prevent request processing.
* @public
*/
export declare class InternalServerException extends __BaseException {
readonly name: "InternalServerException";
readonly $fault: "server";
/**
* OAuth 2.0 error code indicating server error
* Will be SERVER_ERROR for internal server errors
* @public
*/
error: OAuth2ErrorCode | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
}
/**
* Error thrown when rate limit is exceeded
*
* HTTP Status Code: 429 Too Many Requests
*
* Possible OAuth2ErrorCode values:
* - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention
*
* Possible causes:
* - Too many token requests from the same client
* - Rate limiting based on client_id or IP address
* - Abuse prevention mechanisms triggered
* - Service protection against excessive token generation
* @public
*/
export declare class TooManyRequestsError extends __BaseException {
readonly name: "TooManyRequestsError";
readonly $fault: "client";
/**
* OAuth 2.0 error code indicating the specific type of error
* Will be INVALID_REQUEST for rate limiting scenarios
* @public
*/
error: OAuth2ErrorCode | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<TooManyRequestsError, __BaseException>);
}
/**
* Error thrown when request validation fails
*
* HTTP Status Code: 400 Bad Request
*
* Used for request validation errors such as malformed parameters,
* missing required fields, or invalid parameter values.
* @public
*/
export declare class ValidationException extends __BaseException {
readonly name: "ValidationException";
readonly $fault: "client";
/**
* OAuth 2.0 error code indicating validation failure
* Will be INVALID_REQUEST for validation errors
* @public
*/
error: OAuth2ErrorCode | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
}