[checkmk-commits] Refactored global error variable to exception handling