| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations | Functions
exception.hpp File Reference
`#include "opencv2/core/cvdef.h"`
`#include "opencv2/core/cvstd.hpp"`
Include dependency graph for exception.hpp:
This graph shows which files directly or indirectly include this file:

## Classes
class | cv::Exception
| Class passed to an error. More...

## Namespaces
namespace | cv
namespace | cv::Error

## Macros
#define | CV_Assert(expr)
| Checks a condition at runtime and throws exception if it fails.
#define | CV_AssertTerminate(expr)
#define | CV_DbgAssert(expr)
#define | CV_Error(code, msg)
| Call the error handler.
#define | CV_Error_(code, args)
| Call the error handler.

## Enumerations
enum | cv::Error::Code { cv::Error::StsOk = 0 , cv::Error::StsBackTrace = -1 , cv::Error::StsError = -2 , cv::Error::StsInternal = -3 , cv::Error::StsNoMem = -4 , cv::Error::StsBadArg = -5 , cv::Error::StsBadFunc = -6 , cv::Error::StsNoConv = -7 , cv::Error::StsAutoTrace = -8 , cv::Error::HeaderIsNull = -9 , cv::Error::BadImageSize = -10 , cv::Error::BadOffset = -11 , cv::Error::BadDataPtr = -12 , cv::Error::BadStep = -13 , cv::Error::BadModelOrChSeq = -14 , cv::Error::BadNumChannels = -15 , cv::Error::BadNumChannel1U = -16 , cv::Error::BadDepth = -17 , cv::Error::BadAlphaChannel = -18 , cv::Error::BadOrder = -19 , cv::Error::BadOrigin = -20 , cv::Error::BadAlign = -21 , cv::Error::BadCallBack = -22 , cv::Error::BadTileSize = -23 , cv::Error::BadCOI = -24 , cv::Error::BadROISize = -25 , cv::Error::MaskIsTiled = -26 , cv::Error::StsNullPtr = -27 , cv::Error::StsVecLengthErr = -28 , cv::Error::StsFilterStructContentErr = -29 , cv::Error::StsKernelStructContentErr = -30 , cv::Error::StsFilterOffsetErr = -31 , cv::Error::StsBadSize = -201 , cv::Error::StsDivByZero = -202 , cv::Error::StsInplaceNotSupported = -203 , cv::Error::StsObjectNotFound = -204 , cv::Error::StsUnmatchedFormats = -205 , cv::Error::StsBadFlag = -206 , cv::Error::StsBadPoint = -207 , cv::Error::StsBadMask = -208 , cv::Error::StsUnmatchedSizes = -209 , cv::Error::StsUnsupportedFormat = -210 , cv::Error::StsOutOfRange = -211 , cv::Error::StsParseError = -212 , cv::Error::StsNotImplemented = -213 , cv::Error::StsBadMemBlock = -214 , cv::Error::StsAssert = -215 , cv::Error::GpuNotSupported = -216 , cv::Error::GpuApiCallError = -217 , cv::Error::OpenGlNotSupported = -218 , cv::Error::OpenGlApiCallError = -219 , cv::Error::OpenCLApiCallError = -220 , cv::Error::OpenCLDoubleNotSupported = -221 , cv::Error::OpenCLInitError = -222 , cv::Error::OpenCLNoAMDBlasFft = -223 }
| error codes More...

## Functions
void | cv::error (const Exception &exc)
| Signals an error and raises the exception.
void | cv::error (Error::Code code, const String &err, const char *func, const char *file, int line)
| Signals an error and raises the exception.
void | cv::terminate (Error::Code code, const String &err, const char *func, const char *file, int line) CV_NOEXCEPT
| Signals an error and terminate application.