Expand description
Error type shared by the vmb-rs domain and every VmbRuntime adapter.
Vimba X itself returns VmbError_t (a signed 32-bit integer) from every
call. This module maps non-success return codes into a rich VmbError
enum that carries both the numeric code and a static human-readable
name.
The Vimba X C API does not expose a runtime error-to-string function, so
the mapping from code to name is performed manually via error_name
below. The list of codes is derived from VmbErrorType in
vmb_sys::bindings; a drift guard in the vmb facade verifies the two
stay in sync.
Enums§
- VmbError
- Errors returned by the safe
vmbwrapper.
Functions§
- check
- Convert a raw VmbC return code into a
Result. - error_
name - Map a Vimba error code to its static name. Returns
"VmbErrorUnknown"for codes the wrapper doesn’t know about.