/** * Pluginator Error System * * Standardized error handling with typed errors, error codes, * and utilities for error conversion and aggregation. * * @example * ```typescript * import { NetworkError, isPluginatorError, getUserErrorMessage } from './core/errors'; * * try { * await fetchData(); * } catch (error) { * if (isPluginatorError(error) && error.retryable) { * // Retry the operation * } * console.error(getUserErrorMessage(error)); * } * ``` */ export { PluginatorError, NetworkError, ValidationError, FilesystemError, SourceError, AuthError, ConfigError, WorkflowError, SecurityError, type ErrorType, type NetworkErrorCode, type ValidationErrorCode, type FilesystemErrorCode, type SourceErrorCode, type AuthErrorCode, type ConfigErrorCode, type WorkflowErrorCode, type SecurityErrorCode, type ErrorCode, type SerializedError, } from './error-types.js'; export { isPluginatorError, isNetworkError, isValidationError, isFilesystemError, isSourceError, isAuthError, isConfigError, isWorkflowError, isSecurityError, isRetryableError, getErrorType, toPluginatorError, withErrorHandling, serializeError, getUserErrorMessage, aggregateErrors, filterErrorsByType, getRetryableErrors, errorFromHttpStatus, } from './error-utils.js'; export { getPlgCode, parsePlgCode } from './error-codes.js'; export { type ItemResult, successResult, failureResult, batchResult, processBatch, combineResults, getResultSummary, getBatchSummary, } from './workflow-result.js'; //# sourceMappingURL=index.d.ts.map