Creates an ErrorEvent object with default parameters. By default, an error comes from the underlying system.