@ppramanik62/lab-works
Version:
A comprehensive command-line toolkit for hydraulic turbine calculations, supporting Francis Turbine and Pelton Wheel computations with interactive mode and validation.
13 lines • 405 B
TypeScript
/**
* Error handling utilities for validation and general errors
*/
import { ZodError } from 'zod';
/**
* Format and print Zod validation errors in a user-friendly way
*/
export declare const printZodErrors: (error: ZodError) => void;
/**
* Handle errors and exit with proper code
*/
export declare const handleError: (error: unknown, exitCode?: number) => never;
//# sourceMappingURL=error.d.ts.map