Added insertParameterToErrorString()