SpECTRE Documentation Coverage Report
Current view: top level - Utilities/System - Abort.hpp Hit Total Coverage
Commit: d0fc80462417e83e5cddfa1b9901bb4a9b6af4d6 Lines: 1 3 33.3 %
Date: 2024-03-29 00:33:31
Legend: Lines: hit not hit

          Line data    Source code
       1           0 : // Distributed under the MIT License.
       2             : // See LICENSE.txt for details.
       3             : 
       4             : #pragma once
       5             : 
       6             : #include <string>
       7             : 
       8           0 : namespace sys {
       9             : /// \ingroup ErrorHandlingGroup
      10             : /// Abort the program with an error message.
      11             : ///
      12             : /// \details This function calls CkExit with a non-zero argument to indicate a
      13             : /// failure, unless the SPECTRE_TRAP_ON_ERROR environmental variable is set, in
      14             : /// which case it raises SIGTRAP.
      15           1 : [[noreturn]] void abort(const std::string& message);
      16             : }  // namespace sys

Generated by: LCOV version 1.14