error_codes Namespace
Definition
Functions Index
| bool | is_dispatcher_unavailable (std::string_view code) |
|
Returns true if code matches either the canonical or legacy dispatcher-unavailable code. More... | |
Variables Index
| constexpr const char * | kPipelineShape = "misconfig.pipeline_shape" |
|
Pipeline graph geometry mismatch (e.g., wrong number of sinks, cycles, missing terminal Output). More... | |
| constexpr const char * | kCaps = "misconfig.caps" |
|
A caps override or adjacent Node contract failed framework validation before streaming. More... | |
| constexpr const char * | kInputShape = "misconfig.input_shape" |
|
Input tensor violates the expected contract (rank, shape, layout, or data type). More... | |
| constexpr const char * | kRuntimeAbiMismatch = "misconfig.runtime_abi_mismatch" |
|
Framework/runtime plugin ABI mismatch, usually from mixed PyNEAT and runtime artifacts. More... | |
| constexpr const char * | kGraphElementName = "misconfig.graph_element_name" |
|
A custom graph fragment contains an element that cannot be attributed to a stable Node name. More... | |
| constexpr const char * | kMediaCaps = "misconfig.media_caps" |
|
Adjacent media stages require incompatible caps. More... | |
| constexpr const char * | kMediaFormat = "misconfig.media_format" |
|
Adjacent media stages require incompatible formats. More... | |
| constexpr const char * | kInputCapacity = "misconfig.input_capacity" |
|
An image is larger than the configured preprocessing input capacity. More... | |
| constexpr const char * | kTensorDtypeMissing = "misconfig.tensor_dtype_missing" |
|
A tensor contract omitted its dtype/format. More... | |
| constexpr const char * | kOptionOutOfRange = "misconfig.option_out_of_range" |
|
A user-facing option is outside the range supported by the active input contract. More... | |
| constexpr const char * | kParseLaunch = "build.parse_launch" |
|
gst_parse_launch failed to parse the generated GStreamer pipeline string. More... | |
| constexpr const char * | kPipelineSyntax = "build.pipeline_syntax" |
|
A custom GStreamer launch fragment contains invalid syntax. More... | |
| constexpr const char * | kPluginMissing = "build.plugin_missing" |
|
A required GStreamer element/plugin is not installed. More... | |
| constexpr const char * | kPropertyInvalid = "build.property_invalid" |
|
A GStreamer element property is unknown or invalid. More... | |
| constexpr const char * | kRuntimePull = "runtime.pull" |
|
Run::pull() encountered a runtime-side error (downstream EOS, bus error, or appsink failure). More... | |
| constexpr const char * | kRuntimeElementFailed = "runtime.element_failed" |
|
A pipeline element stopped processing for a reason that has no more-specific classification. More... | |
| constexpr const char * | kOutputTimeout = "runtime.output_timeout" |
|
No output arrived before the configured wait expired. More... | |
| constexpr const char * | kUnexpectedEos = "runtime.unexpected_eos" |
|
The pipeline reached EOS before a required output was produced. More... | |
| constexpr const char * | kIoParse = "io.parse" |
|
JSON or config parsing error (typically from the MPK contract or a per-stage config). More... | |
| constexpr const char * | kIoOpen = "io.open" |
|
Failed to open a file or device path (file missing, permission denied, kernel device absent). More... | |
| constexpr const char * | kFileNotFound = "io.file_not_found" |
|
An input file does not exist. More... | |
| constexpr const char * | kPermissionDenied = "io.permission_denied" |
|
A file/device exists but cannot be opened with the required permissions. More... | |
| constexpr const char * | kRtspConnectionFailed = "io.rtsp_connection_failed" |
|
An RTSP source could not be contacted or opened. More... | |
| constexpr const char * | kCameraNotFound = "io.camera_not_found" |
|
The requested camera name is not available. More... | |
| constexpr const char * | kModelNotFound = "io.model_not_found" |
|
A model archive path does not exist. More... | |
| constexpr const char * | kSourceEnded = "io.source_ended" |
|
An input source ended normally and has no more data. More... | |
| constexpr const char * | kInvalidH264Stream = "codec.invalid_h264_stream" |
|
The input did not contain a valid H.264 access unit before EOS. More... | |
| constexpr const char * | kDecodeFailed = "codec.decode_failed" |
|
A decoder failed after accepting the encoded stream. More... | |
| constexpr const char * | kEncodeFailed = "codec.encode_failed" |
|
An encoder failed while producing an encoded stream. More... | |
| constexpr const char * | kMemoryAllocationFailed = "resource.memory_allocation_failed" |
|
A required memory allocation failed without identifying a device-specific allocator. More... | |
| constexpr const char * | kDeviceMemoryExhausted = "resource.device_memory_exhausted" |
|
Contiguous device DMA/CMA memory is exhausted. More... | |
| constexpr const char * | kOutputPoolExhausted = "resource.output_pool_exhausted" |
|
A plugin could not acquire an output buffer from its pool. More... | |
| constexpr const char * | kBufferTooSmall = "resource.buffer_too_small" |
|
A supplied or allocated buffer is smaller than the required payload. More... | |
| constexpr const char * | kDiskFull = "resource.disk_full" |
|
A file/device write failed because its storage is full. More... | |
| constexpr const char * | kDispatcherUnavailable = "infra.dispatcher_unavailable" |
|
Dispatcher resource unavailable. More... | |
| constexpr const char * | kAcceleratorExecutionFailed = "infra.accelerator_execution_failed" |
|
The dispatcher was available, but accelerator execution failed. More... | |
| constexpr const char * | kDispatcherUnavailableLegacy = "DispatcherUnavailable" |
|
Legacy spelling kept for compatibility with older reports. Prefer kDispatcherUnavailable. More... | |
| constexpr const char * | kInternalPluginFailure = "internal.plugin_failure" |
|
A Neat plugin failed unexpectedly without a user-actionable classification. More... | |
Functions
is_dispatcher_unavailable()
| inline |
Returns true if code matches either the canonical or legacy dispatcher-unavailable code.
Definition at line 123 of file ErrorCodes.h.
Variables
kAcceleratorExecutionFailed
| constexpr |
The dispatcher was available, but accelerator execution failed.
Definition at line 114 of file ErrorCodes.h.
kBufferTooSmall
| constexpr |
A supplied or allocated buffer is smaller than the required payload.
Definition at line 100 of file ErrorCodes.h.
kCameraNotFound
| constexpr |
The requested camera name is not available.
Definition at line 78 of file ErrorCodes.h.
kCaps
| constexpr |
A caps override or adjacent Node contract failed framework validation before streaming.
Runtime GStreamer negotiation failures use kMediaCaps or kMediaFormat.
Definition at line 30 of file ErrorCodes.h.
kDecodeFailed
| constexpr |
A decoder failed after accepting the encoded stream.
Definition at line 88 of file ErrorCodes.h.