LCOV - code coverage report
Current view: top level - src/sl3 - error.cpp (source / functions) Coverage Total Hit
Test: coverage.info.cleaned Lines: 100.0 % 3 3
Test Date: 2024-12-09 18:45:33 Functions: 100.0 % 1 1
Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : /******************************************************************************
       2                 :             :  ------------- Copyright (c) 2009-2023 H a r a l d  A c h i t z ---------------
       3                 :             :  ---------- < h a r a l d dot a c h i t z at g m a i l dot c o m > ------------
       4                 :             :  ---- This Source Code Form is subject to the terms of the Mozilla Public -----
       5                 :             :  ---- License, v. 2.0. If a copy of the MPL was not distributed with this -----
       6                 :             :  ---------- file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------
       7                 :             :  ******************************************************************************/
       8                 :             : 
       9                 :             : #include <sl3/error.hpp>
      10                 :             : 
      11                 :             : #include <map>
      12                 :             : #include <ostream>
      13                 :             : 
      14                 :             : namespace sl3
      15                 :             : {
      16                 :             :   std::ostream&
      17                 :           3 :   operator<< (std::ostream& os, const Error& e)
      18                 :             :   {
      19                 :           3 :     os << "sl3::" << ErrCodeName (e.getId ()) << ":" << e.what ();
      20                 :           3 :     return os;
      21                 :             :   }
      22                 :             : }
        

Generated by: LCOV version 2.0-1