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

Exception class indicating that a function received an inconsistent or out of range parameter (the calling code is wrong).


Catch exceptions of this type only if you don’t control the input arguments (i.e. in a use interface).

To throw an exception of this type, use the DIP_THROW and DIP_THROW_IF macros.

Base classes

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