Question regarding failed vcov

Hello,

I noticed that when vcov fails, it returns a Pumas.PumasFailedCovariance object instead of erroring. Can a user do anything with that object? I was expecting it to error, based on how Pumas behaves when fit or infer and so forth fail, so I had written the vcov into a try/catch for a large simulation project before realizing that try/catch doesn’t work b/c of this Pumas quirk.

you can check if resulting object is of that type and filter things out.

res isa Pumas.PumasFailedCovariance

this should return true or false that you can use to keep track of failed iterations.