Error handling#
MPL performs some consistency checks when the macro MPL_DEBUG
has been defined. In case of an error, an exception may be thrown with an object having one of the following types.
-
class error : public exception#
Base class for all MPL exception classes that will be thrown in case of run-time errors.
Subclassed by invalid_argument, invalid_count, invalid_datatype_bound, invalid_dim, invalid_layout, invalid_rank, invalid_size, invalid_tag, io_failure