• Records error information for debugging and monitoring. Use this to track any exceptions or error conditions that occur during theme operations. Errors are automatically categorized for easier analysis.

    Type Parameters

    • T

    Parameters

    • error: T

      Error object or message to record

    Returns T

      try {
    // ... risky operation ...
    } catch (error) {
    recordError(error)
    }