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