details Formats an error message string corresponding to the specified error code(s).
A string with a formatted error message.