how to create fake error messages