1 /* Copyright (c) 2015-2023. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef SIMGRID_MC_EXIT_HPP
7 #define SIMGRID_MC_EXIT_HPP
11 namespace simgrid::mc {
13 enum class ExitStatus {
24 struct McError : public std::exception {
25 const ExitStatus value;
26 explicit McError(ExitStatus v = ExitStatus::ERROR) : value(v) {}
28 } // namespace simgrid::mc