-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
18 lines (13 loc) · 777 Bytes
/
errors.go
File metadata and controls
18 lines (13 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package opencv
import "errors"
var (
// ErrBackendUnavailable means no native library was found for the current platform.
// Supported: windows/amd64, windows/arm64, linux/amd64, linux/arm64, darwin/amd64, darwin/arm64.
ErrBackendUnavailable = errors.New("opencv: backend unavailable (supported: windows/amd64, windows/arm64, linux/amd64, linux/arm64, darwin/amd64, darwin/arm64)")
// ErrClosed means the runtime or object was already closed.
ErrClosed = errors.New("opencv: closed")
// ErrInvalidMat means a Mat handle is nil, closed, or owned by another runtime.
ErrInvalidMat = errors.New("opencv: invalid mat")
// ErrNotImplemented marks API surface reserved for OpenCV.js parity but not wired yet.
ErrNotImplemented = errors.New("opencv: not implemented")
)