pub fn set_last_error(error: impl Display)
Sets an error message that is held by the compositor until it is retrieved.