Format an error for display to the user via console.error. Handles both OpencarlError instances and generic errors.
The error to format (can be OpencarlError or any other error type)
A formatted string suitable for console.error output
Format an error for display to the user via console.error. Handles both OpencarlError instances and generic errors.