setErrorString() should be an inline function