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
trySync
Handle synchronous operations safelytryAsync
Handle asynchronous operations safelytryCall
Call functions with error handlingcreateError
Create custom error typesisTryError
Type guard for TryError instancesTypes
TypeScript type definitions
TryResult
Result type for try operationsTryError
Enhanced error typeErrorConfig
Configuration optionsInterfaces
Interface definitions
TryOptions
Options for try operationsErrorDetails
Additional error informationConfiguration
Configuration and setup
configure
Configure global settingsgetConfig
Get current configurationConfigPresets
Pre-defined configurationsClasses
Class definitions and implementations
ErrorPool
Error pooling for performancePluginManager
Plugin system managementCircuitBreaker
Circuit 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.