tryError Documentation

API Reference

Complete API documentation for tryError, auto-generated from the TypeScript source code.

Functions

Core functions for error handling

trySyncHandle synchronous operations safely
tryAsyncHandle asynchronous operations safely
tryCallCall functions with error handling
createErrorCreate custom error types
isTryErrorType guard for TryError instances
View all functions

Types

TypeScript type definitions

TryResultResult type for try operations
TryErrorEnhanced error type
ErrorConfigConfiguration options
View all types

Interfaces

Interface definitions

TryOptionsOptions for try operations
ErrorDetailsAdditional error information
View all interfaces

Configuration

Configuration and setup

configureConfigure global settings
getConfigGet current configuration
ConfigPresetsPre-defined configurations
View all configuration

Classes

Class definitions and implementations

ErrorPoolError pooling for performance
PluginManagerPlugin system management
CircuitBreakerCircuit breaker pattern
View all classes

Enumerations

Enumeration values and constants

ErrorFlagsError flag constants
View all enumerations