Added various error messages to the backend.