tryError Documentation
API Reference
Complete API documentation for tryError, auto-generated from the TypeScript source code.
This documentation is automatically generated from the source code using TypeDoc. For the most up-to-date information, refer to the TypeScript definitions in your IDE.
Functions
Core functions for error handling
trySyncHandle synchronous operations safelytryAsyncHandle asynchronous operations safelytryCallCall functions with error handlingcreateErrorCreate custom error typesisTryErrorType guard for TryError instancesTypes
TypeScript type definitions
TryResultResult type for try operationsTryErrorEnhanced error typeErrorConfigConfiguration optionsInterfaces
Interface definitions
TryOptionsOptions for try operationsErrorDetailsAdditional error informationConfiguration
Configuration and setup
configureConfigure global settingsgetConfigGet current configurationConfigPresetsPre-defined configurationsClasses
Class definitions and implementations
ErrorPoolError pooling for performancePluginManagerPlugin system managementCircuitBreakerCircuit breaker pattern📚 Quick Links
Pro tip: Use your IDE's "Go to Definition" feature (usually Cmd/Ctrl + Click) on any tryError function to see its full documentation, parameters, and return types.