Emulate console error