[checkmk-commits] Centralize error handling a bit more.