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>
36 lines
No EOL
799 B
Text
36 lines
No EOL
799 B
Text
/**
|
|
* @license
|
|
* Copyright 2022 Google Inc.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
import type { ProtocolError } from '../common/Errors.js';
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface ErrorLike extends Error {
|
|
name: string;
|
|
message: string;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function isErrorLike(obj: unknown): obj is ErrorLike;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function isErrnoException(obj: unknown): obj is NodeJS.ErrnoException;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function rewriteError(error: ProtocolError, message: string, originalMessage?: string): Error;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function createProtocolErrorMessage(object: {
|
|
error: {
|
|
message: string;
|
|
data: any;
|
|
code: number;
|
|
};
|
|
}): string;
|
|
//# sourceMappingURL=ErrorLike.d.ts.map |