error
Logs an error message, indicating a serious issue that may disrupt functionality.
Errors represent significant problems that need attention, as they can prevent parts of the application from working correctly.
Parameters
message
The message string to be logged.
throwable
An optional Throwable to include for detailed error information.