Avoid a crash or an indeterminate result due to the inconsistency of parameters when errorMessage includes format characters such as %d.