UNPKG

spanwright

Version:

CLI tool to generate Cloud Spanner E2E testing framework projects with Go database tools and Playwright browser automation

23 lines 947 B
export declare class SpanwrightError extends Error { readonly code?: string | undefined; constructor(message: string, code?: string | undefined); } export declare class ValidationError extends SpanwrightError { readonly field?: string | undefined; constructor(message: string, field?: string | undefined); } export declare class FileSystemError extends SpanwrightError { readonly path?: string | undefined; constructor(message: string, path?: string | undefined); } export declare class ConfigurationError extends SpanwrightError { readonly key?: string | undefined; constructor(message: string, key?: string | undefined); } export declare class SecurityError extends SpanwrightError { readonly path: string; constructor(message: string, path: string); } export declare function handleError(error: unknown): never; export declare function safeExit(code?: number): never; //# sourceMappingURL=errors.d.ts.map