public/errors/errors library

Classes

ErrorContext
Context information captured when an error occurs Includes stack trace, source location, and timing information Matches iOS ErrorContext from Foundation/ErrorTypes/ErrorContext.swift

Enums

ErrorCategory
Error categories for logical grouping and filtering Matches iOS ErrorCategory from Foundation/ErrorTypes/ErrorCategory.swift
ErrorCode
SDK error codes Matches iOS ErrorCode from Foundation/ErrorTypes/ErrorCodes.swift
SDKErrorType
SDK error types Matches iOS RunAnywhereError cases

Extensions

ErrorContextExtension on Object
Extension to add context to any error

Functions

captureErrorContext() ErrorContext
Global function to capture error context at the call site Use this when throwing errors to capture the stack trace

Typedefs

RunAnywhereError = SDKError
Type alias for iOS parity iOS uses RunAnywhereError; this alias provides compatibility

Exceptions / Errors

ContextualError
A wrapper that attaches context to any error
SDKError
Main SDK error type Matches iOS RunAnywhereError from Public/Errors/RunAnywhereError.swift