Got advanced error messages working