Skip to content

exceptionFromPtr

Core and matricesfunctionOpenCV 5.0.0
import { exceptionFromPtr } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTS_0
FUNCTIONexceptionFromPtr
RETURN TYPEException
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Read an OpenCV cv::Exception from a numeric native exception pointer. Its message includes the failing native assertion or operation.

exceptionFromPtr(_0: number): Exception;
_0

0 argument (number).

Returns

The Exception result.

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.