fix(error): Correct error message composition (refs #4992)