doc: vm: fix incorrect API documentation

On timeout, an Error object is thrown, not null.