LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
error.h File Reference

The exception types the port throws. More...

#include <stdexcept>
#include <string>
Include dependency graph for error.h:

Go to the source code of this file.

Classes

class  line::Error
 Base error for the multiprecision C++ port. More...
class  line::InputError
 Malformed or inconsistent input (dimensions, negative populations, ...). More...
class  line::NumericError
 The algorithm cannot proceed on this instance (singular matrix, ...). More...
class  line::UnsupportedError
 Requested feature or arithmetic mode is not ported yet. More...

Namespaces

namespace  line

Detailed Description

The exception types the port throws.

Error and its three refinements – InputError for a malformed model or argument, NumericError for a computation that cannot produce an answer, and UnsupportedError for a feature the chosen algorithm does not cover. Nothing in the library calls exit() or writes to stderr on failure: the CLI catches these at main and the bindings map them to exceptions, so the same code path serves both.

Definition in file error.h.