LCOV - code coverage report
Current view: top level - src/Tools/Exception/length_error - length_error.cpp (source / functions) Hit Total Coverage
Test: streampu_clean.info Lines: 0 13 0.0 %
Date: 2024-06-12 12:04:18 Functions: 0 3 0.0 %

          Line data    Source code
       1             : #include <utility>
       2             : 
       3             : #include "Tools/Exception/length_error/length_error.hpp"
       4             : 
       5             : using namespace spu::tools;
       6             : 
       7             : #define DEFAULT_MESSAGE "Length error."
       8             : 
       9           0 : length_error::length_error() noexcept
      10           0 :   : exception(DEFAULT_MESSAGE)
      11             : {
      12           0 : }
      13             : 
      14           0 : length_error::length_error(std::string&& message) noexcept
      15           0 :   : exception(message.empty() ? DEFAULT_MESSAGE : message)
      16             : {
      17           0 : }
      18             : 
      19           0 : length_error::length_error(std::string&& filename,
      20             :                            int&& line_num,
      21             :                            std::string&& funcname,
      22           0 :                            std::string&& message) noexcept
      23           0 :   : exception(std::move(filename),
      24           0 :               std::move(line_num),
      25           0 :               std::move(funcname),
      26           0 :               message.empty() ? DEFAULT_MESSAGE : message)
      27             : {
      28           0 : }

Generated by: LCOV version 1.14