public void Generates_an_instance_if_exception_is_not_null(Exception exception)
        {
            var res = ExceptionError.New(exception);

            res.Should().NotBeNull();
        }
 public void Throws_if_message_is_null()
 {
     act(() => ExceptionError.New(null))
     .Should().Throw <ArgumentNullException>();
 }