1 /* Copyright (c) 2015-2021. 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 constexpr int SIMGRID_MC_EXIT_SUCCESS = 0;
12 constexpr int SIMGRID_MC_EXIT_SAFETY = 1;
13 constexpr int SIMGRID_MC_EXIT_LIVENESS = 2;
14 constexpr int SIMGRID_MC_EXIT_DEADLOCK = 3;
15 constexpr int SIMGRID_MC_EXIT_NON_TERMINATION = 4;
16 constexpr int SIMGRID_MC_EXIT_NON_DETERMINISM = 5;
17 constexpr int SIMGRID_MC_EXIT_PROGRAM_CRASH = 6;
19 constexpr int SIMGRID_MC_EXIT_ERROR = 63;
23 class XBT_PUBLIC DeadlockError : public std::exception {
25 class XBT_PUBLIC TerminationError : public std::exception {
27 class XBT_PUBLIC LivenessError : public std::exception {