How to check if GLM will be able to run OLS beforehand?

I think you are looking for a try/catch statement: Control Flow · The Julia Language

1 Like