throw exception on error

Companion MR to mjwshared!29 (merged).

Merge request reports

Loading