Error management module
#include "diplib.h"
dip::RunTimeError class

Exception class indicating that something happened that we couldn’t predict (e.g. file error).

Contents

Catch exceptions of this type if you want to account for run time errors. Note that memory allocation errors are typically std::bad_alloc, unless a different allocator is chosen. None of the library functions catch and translate this exception.

To throw an exception of this type, use the DIP_THROW_RUNTIME macro.

Base classes

class dip::Error
Base exception class. All exceptions thrown in DIPlib are derived of this class.