Creates a standardized ArvoError payload from an Error object. This utility ensures consistent error reporting across the event system by extracting and structuring key error information.
The source Error object to convert
ArvoErrorType - The standardized error payload
Creates a standardized ArvoError payload from an Error object. This utility ensures consistent error reporting across the event system by extracting and structuring key error information.