Code View

mstring / mstring-1.3.1.2 / src / MException.hh
// SPDX-License-Identifier: MIT
#pragma once

#include <stdexcept>
#include <string>

/// \file MException.hh
/// \brief A fatal mstring error (bad command line, unwritable output, an
///        inconsistent message definition). Syntax errors in the input are
///        reported through the parser's diagnostics instead.

class MException
  : public std::runtime_error
{
  public:
    explicit MException( const std::string &msg );
};