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.
Error object or message to record
try { // ... risky operation ... } catch (error) { recordError(error) } Copy
try { // ... risky operation ... } catch (error) { recordError(error) }
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.