Rocky_Mountain_Vending/.pnpm-store/v10/files/21/d154c1cb7ef0719e0fec761b4332ca090d5c0cc8f460211c22e91b7ca58d8ad79c840a68055794a3af574e3034ed720b9acd0974f675c878b0a0ff4f7c9e1d
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

42 lines
1.8 KiB
Text

import { HttpResponse, MetadataBearer, ResponseMetadata, RetryableTrait, SmithyException } from "@smithy/types";
/**
* The type of the exception class constructor parameter. The returned type contains the properties
* in the `ExceptionType` but not in the `BaseExceptionType`. If the `BaseExceptionType` contains
* `$metadata` and `message` properties, it's also included in the returned type.
* @internal
*/
export type ExceptionOptionType<ExceptionType extends Error, BaseExceptionType extends Error> = Pick<ExceptionType, Exclude<keyof ExceptionType, Exclude<keyof BaseExceptionType, "$metadata" | "message">>>;
/**
* @public
*/
export interface ServiceExceptionOptions extends SmithyException, MetadataBearer {
message?: string;
}
/**
* @public
*
* Base exception class for the exceptions from the server-side.
*/
export declare class ServiceException extends Error implements SmithyException, MetadataBearer {
readonly $fault: "client" | "server";
$response?: HttpResponse;
$retryable?: RetryableTrait;
$metadata: ResponseMetadata;
constructor(options: ServiceExceptionOptions);
/**
* Checks if a value is an instance of ServiceException (duck typed)
*/
static isInstance(value: unknown): value is ServiceException;
/**
* Custom instanceof check to support the operator for ServiceException base class
*/
static [Symbol.hasInstance](instance: unknown): boolean;
}
/**
* This method inject unmodeled member to a deserialized SDK exception,
* and load the error message from different possible keys('message',
* 'Message').
*
* @internal
*/
export declare const decorateServiceException: <E extends ServiceException>(exception: E, additions?: Record<string, any>) => E;