|  | OpenCV
    3.4.9
    Open Source Computer Vision | 
| enum cv::Error::Code | 
error codes
| Enumerator | |
|---|---|
| StsOk Python: cv.Error.StsOk | everything is ok | 
| StsBackTrace Python: cv.Error.StsBackTrace | pseudo error for back trace | 
| StsError Python: cv.Error.StsError | unknown /unspecified error | 
| StsInternal Python: cv.Error.StsInternal | internal error (bad state) | 
| StsNoMem Python: cv.Error.StsNoMem | insufficient memory | 
| StsBadArg Python: cv.Error.StsBadArg | function arg/param is bad | 
| StsBadFunc Python: cv.Error.StsBadFunc | unsupported function | 
| StsNoConv Python: cv.Error.StsNoConv | iteration didn't converge | 
| StsAutoTrace Python: cv.Error.StsAutoTrace | tracing | 
| HeaderIsNull Python: cv.Error.HeaderIsNull | image header is NULL | 
| BadImageSize Python: cv.Error.BadImageSize | image size is invalid | 
| BadOffset Python: cv.Error.BadOffset | offset is invalid | 
| BadDataPtr Python: cv.Error.BadDataPtr | |
| BadStep Python: cv.Error.BadStep | image step is wrong, this may happen for a non-continuous matrix. | 
| BadModelOrChSeq Python: cv.Error.BadModelOrChSeq | |
| BadNumChannels Python: cv.Error.BadNumChannels | bad number of channels, for example, some functions accept only single channel matrices. | 
| BadNumChannel1U Python: cv.Error.BadNumChannel1U | |
| BadDepth Python: cv.Error.BadDepth | input image depth is not supported by the function | 
| BadAlphaChannel Python: cv.Error.BadAlphaChannel | |
| BadOrder Python: cv.Error.BadOrder | number of dimensions is out of range | 
| BadOrigin Python: cv.Error.BadOrigin | incorrect input origin | 
| BadAlign Python: cv.Error.BadAlign | incorrect input align | 
| BadCallBack Python: cv.Error.BadCallBack | |
| BadTileSize Python: cv.Error.BadTileSize | |
| BadCOI Python: cv.Error.BadCOI | input COI is not supported | 
| BadROISize Python: cv.Error.BadROISize | incorrect input roi | 
| MaskIsTiled Python: cv.Error.MaskIsTiled | |
| StsNullPtr Python: cv.Error.StsNullPtr | null pointer | 
| StsVecLengthErr Python: cv.Error.StsVecLengthErr | incorrect vector length | 
| StsFilterStructContentErr Python: cv.Error.StsFilterStructContentErr | incorrect filter structure content | 
| StsKernelStructContentErr Python: cv.Error.StsKernelStructContentErr | incorrect transform kernel content | 
| StsFilterOffsetErr Python: cv.Error.StsFilterOffsetErr | incorrect filter offset value | 
| StsBadSize Python: cv.Error.StsBadSize | the input/output structure size is incorrect | 
| StsDivByZero Python: cv.Error.StsDivByZero | division by zero | 
| StsInplaceNotSupported Python: cv.Error.StsInplaceNotSupported | in-place operation is not supported | 
| StsObjectNotFound Python: cv.Error.StsObjectNotFound | request can't be completed | 
| StsUnmatchedFormats Python: cv.Error.StsUnmatchedFormats | formats of input/output arrays differ | 
| StsBadFlag Python: cv.Error.StsBadFlag | flag is wrong or not supported | 
| StsBadPoint Python: cv.Error.StsBadPoint | bad CvPoint | 
| StsBadMask Python: cv.Error.StsBadMask | bad format of mask (neither 8uC1 nor 8sC1) | 
| StsUnmatchedSizes Python: cv.Error.StsUnmatchedSizes | sizes of input/output structures do not match | 
| StsUnsupportedFormat Python: cv.Error.StsUnsupportedFormat | the data format/type is not supported by the function | 
| StsOutOfRange Python: cv.Error.StsOutOfRange | some of parameters are out of range | 
| StsParseError Python: cv.Error.StsParseError | invalid syntax/structure of the parsed file | 
| StsNotImplemented Python: cv.Error.StsNotImplemented | the requested function/feature is not implemented | 
| StsBadMemBlock Python: cv.Error.StsBadMemBlock | an allocated block has been corrupted | 
| StsAssert Python: cv.Error.StsAssert | assertion failed | 
| GpuNotSupported Python: cv.Error.GpuNotSupported | no CUDA support | 
| GpuApiCallError Python: cv.Error.GpuApiCallError | GPU API call error. | 
| OpenGlNotSupported Python: cv.Error.OpenGlNotSupported | no OpenGL support | 
| OpenGlApiCallError Python: cv.Error.OpenGlApiCallError | OpenGL API call error. | 
| OpenCLApiCallError Python: cv.Error.OpenCLApiCallError | OpenCL API call error. | 
| OpenCLDoubleNotSupported Python: cv.Error.OpenCLDoubleNotSupported | |
| OpenCLInitError Python: cv.Error.OpenCLInitError | OpenCL initialization error. | 
| OpenCLNoAMDBlasFft Python: cv.Error.OpenCLNoAMDBlasFft | |
 1.8.13
 1.8.13