Added ability to force error.