LCOV - code coverage report
Current view: top level - jdx - BlockParseException.cpp (source / functions) Hit Total Coverage
Test: coverage_filtered.info Lines: 8 8 100.0 %
Date: 2025-06-15 16:18:27 Functions: 2 2 100.0 %

          Line data    Source code
       1             : /* Copyright (C) 2025 Robert Schiwon
       2             :  *
       3             :  * This file is part of libjdx.
       4             :  *
       5             :  * libjdx is free software: you can redistribute it and/or modify it under the
       6             :  * terms of the GNU Lesser General Public License as published by the Free
       7             :  * Software Foundation, either version 3 of the License, or (at your option) any
       8             :  * later version.
       9             :  *
      10             :  * libjdx is distributed in the hope that it will be useful, but WITHOUT ANY
      11             :  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
      12             :  * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
      13             :  * details.
      14             :  *
      15             :  * You should have received a copy of the GNU Lesser General Public License
      16             :  * along with libjdx. If not, see <https://www.gnu.org/licenses/>.
      17             :  */
      18             : #include "jdx/BlockParseException.hpp"
      19             : 
      20           5 : libjdx::jdx::BlockParseException::BlockParseException(const std::string& what)
      21           5 :     : ParseException{what}
      22             : {
      23           5 : }
      24             : 
      25           6 : libjdx::jdx::BlockParseException::BlockParseException(
      26             :     const std::string& issueMsg, const std::string& label,
      27           6 :     const std::string& blockTitle)
      28          12 :     : ParseException{issueMsg + " \"" + label
      29          12 :                      + "\" LDR(s) encountered in block: \"" + blockTitle + "\""}
      30             : {
      31           6 : }

Generated by: LCOV version 1.14