JuMP: Catch error if solver stops early due to network error or running out of memory ?

No, not in 0.18.

This might be possible in the new version of JuMP which has better support for this sort of thing.

It would depend on the exact error returned by Gurobi though, and whether Gurobi has a solution internally.