DIPlib Documentation - ©1995-2014 Quantitative Imaging Group, Delft University of Technology.

error.h

Contains error messages

SYNOPSIS

#include "dip_error.h"

FUNCTION

Contains a lot of definitions to do with DIPlib's error mechanism. In particular, this include file contains definitions for a number of error messages. These are all of the type extern const char *. A list of the error sorted by category follows below:

Memory allocation

NameDescription
dip_errorCouldNotAllocateMemoryNo memory could be allocated

Image creation errors

NameDescription
dip_errorImageIsLockedImage is locked
dip_errorImageNotRawImage is not in the RAW state
dip_errorImageNotValidImage is not in the VALID state
dip_errorImagesNotUniqueImage is used as an output image more than once
dip_errorImageLockInvalidKeyCannot unlock. Wrong key

Image type errors

NameDescription
dip_errorIllegalImageTypeIllegal image type
dip_errorImageTypeDoesNotExistImage type does not exist
dip_errorImageTypeAlreadyExistsAdding image type failed. Type already exists
dip_errorImageTypeNotSupportedImage type not supported
dip_errorImageTypeHandlerMissingNo type handler for image type

Image data type errors

NameDescription
dip_errorDataTypeNotSupportedData type not supported
dip_errorIllegalDataTypeIllegal data type

Image dimension(ality) errors

NameDescription
dip_errorIllegalDimensionalityIllegal dimensionality
dip_errorDimensionalityNotSupportedDimensionality not supported
dip_errorIllegalDimensionIllegal dimension