Перейти до основного вмісту

error_codes Namespace

Definition​

namespace simaai::neat::error_codes { ... }

Functions Index​

boolis_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 *kKernelRequest = "misconfig.kernel_request"

A kernel's canonical semantic validator rejected the request. More...

constexpr const char *kKernelUnsupported = "misconfig.kernel_unsupported"

A valid request requires an implementation or capability not admitted by the selected target. More...

constexpr const char *kKernelBinding = "runtime.kernel_binding"

Actual storage does not satisfy a checked kernel's binding requirements. More...

constexpr const char *kKernelDependency = "runtime.kernel_dependency"

A kernel did not execute because its producer/dependency failed. 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"

A kernel did not complete within its observation timeout; this does not establish retirement. 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()​

bool simaai::neat::error_codes::is_dispatcher_unavailable (std::string_view code)
inline

Returns true if code matches either the canonical or legacy dispatcher-unavailable code.

Definition at line 132 of file ErrorCodes.h.

Variables​

kAcceleratorExecutionFailed​

const char* simaai::neat::error_codes::kAcceleratorExecutionFailed = "infra.accelerator_execution_failed"
constexpr

The dispatcher was available, but accelerator execution failed.

Definition at line 123 of file ErrorCodes.h.

kBufferTooSmall​

const char* simaai::neat::error_codes::kBufferTooSmall = "resource.buffer_too_small"
constexpr

A supplied or allocated buffer is smaller than the required payload.

Definition at line 109 of file ErrorCodes.h.

kCameraNotFound​

const char* simaai::neat::error_codes::kCameraNotFound = "io.camera_not_found"
constexpr

The requested camera name is not available.

Definition at line 87 of file ErrorCodes.h.

kCaps​

const char* simaai::neat::error_codes::kCaps = "misconfig.caps"
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​

const char* simaai::neat::error_codes::kDecodeFailed = "codec.decode_failed"
constexpr

A decoder failed after accepting the encoded stream.

Definition at line 97 of file ErrorCodes.h.

kDeviceMemoryExhausted​

const char* simaai::neat::error_codes::kDeviceMemoryExhausted = "resource.device_memory_exhausted"
constexpr

Contiguous device DMA/CMA memory is exhausted.

Definition at line 105 of file ErrorCodes.h.

kDiskFull​

const char* simaai::neat::error_codes::kDiskFull = "resource.disk_full"
constexpr

A file/device write failed because its storage is full.

Definition at line 111 of file ErrorCodes.h.

kDispatcherUnavailable​

const char* simaai::neat::error_codes::kDispatcherUnavailable = "infra.dispatcher_unavailable"
constexpr

Dispatcher resource unavailable.

Returned when an MLA/EV74/A65 dispatcher can't be acquired. Common causes: EV74 firmware not loaded (/dev/rpmsg* missing), MLA license missing, hardware fault. The framework deliberately does not fall back to CPU — see "no host fallback" in §16.

Definition at line 121 of file ErrorCodes.h.

kDispatcherUnavailableLegacy​

const char* simaai::neat::error_codes::kDispatcherUnavailableLegacy = "DispatcherUnavailable"
constexpr

Legacy spelling kept for compatibility with older reports. Prefer kDispatcherUnavailable.

Definition at line 125 of file ErrorCodes.h.

kEncodeFailed​

const char* simaai::neat::error_codes::kEncodeFailed = "codec.encode_failed"
constexpr

An encoder failed while producing an encoded stream.

Definition at line 99 of file ErrorCodes.h.

kFileNotFound​

const char* simaai::neat::error_codes::kFileNotFound = "io.file_not_found"
constexpr

An input file does not exist.

Definition at line 81 of file ErrorCodes.h.

kGraphElementName​

const char* simaai::neat::error_codes::kGraphElementName = "misconfig.graph_element_name"
constexpr

A custom graph fragment contains an element that cannot be attributed to a stable Node name.

Definition at line 36 of file ErrorCodes.h.

kInputCapacity​

const char* simaai::neat::error_codes::kInputCapacity = "misconfig.input_capacity"
constexpr

An image is larger than the configured preprocessing input capacity.

Definition at line 42 of file ErrorCodes.h.

kInputShape​

const char* simaai::neat::error_codes::kInputShape = "misconfig.input_shape"
constexpr

Input tensor violates the expected contract (rank, shape, layout, or data type).

Definition at line 32 of file ErrorCodes.h.

kInternalPluginFailure​

const char* simaai::neat::error_codes::kInternalPluginFailure = "internal.plugin_failure"
constexpr

A Neat plugin failed unexpectedly without a user-actionable classification.

Definition at line 129 of file ErrorCodes.h.

kInvalidH264Stream​

const char* simaai::neat::error_codes::kInvalidH264Stream = "codec.invalid_h264_stream"
constexpr

The input did not contain a valid H.264 access unit before EOS.

Definition at line 95 of file ErrorCodes.h.

kIoOpen​

const char* simaai::neat::error_codes::kIoOpen = "io.open"
constexpr

Failed to open a file or device path (file missing, permission denied, kernel device absent).

Definition at line 79 of file ErrorCodes.h.

kIoParse​

const char* simaai::neat::error_codes::kIoParse = "io.parse"
constexpr

JSON or config parsing error (typically from the MPK contract or a per-stage config).

Definition at line 77 of file ErrorCodes.h.

kKernelBinding​

const char* simaai::neat::error_codes::kKernelBinding = "runtime.kernel_binding"
constexpr

Actual storage does not satisfy a checked kernel's binding requirements.

Definition at line 53 of file ErrorCodes.h.

kKernelDependency​

const char* simaai::neat::error_codes::kKernelDependency = "runtime.kernel_dependency"
constexpr

A kernel did not execute because its producer/dependency failed.

Definition at line 55 of file ErrorCodes.h.

kKernelRequest​

const char* simaai::neat::error_codes::kKernelRequest = "misconfig.kernel_request"
constexpr

A kernel's canonical semantic validator rejected the request.

Definition at line 49 of file ErrorCodes.h.

kKernelUnsupported​

const char* simaai::neat::error_codes::kKernelUnsupported = "misconfig.kernel_unsupported"
constexpr

A valid request requires an implementation or capability not admitted by the selected target.

Definition at line 51 of file ErrorCodes.h.

kMediaCaps​

const char* simaai::neat::error_codes::kMediaCaps = "misconfig.media_caps"
constexpr

Adjacent media stages require incompatible caps.

Definition at line 38 of file ErrorCodes.h.

kMediaFormat​

const char* simaai::neat::error_codes::kMediaFormat = "misconfig.media_format"
constexpr

Adjacent media stages require incompatible formats.

Definition at line 40 of file ErrorCodes.h.

kMemoryAllocationFailed​

const char* simaai::neat::error_codes::kMemoryAllocationFailed = "resource.memory_allocation_failed"
constexpr

A required memory allocation failed without identifying a device-specific allocator.

Definition at line 103 of file ErrorCodes.h.

kModelNotFound​

const char* simaai::neat::error_codes::kModelNotFound = "io.model_not_found"
constexpr

A model archive path does not exist.

Definition at line 89 of file ErrorCodes.h.

kOptionOutOfRange​

const char* simaai::neat::error_codes::kOptionOutOfRange = "misconfig.option_out_of_range"
constexpr

A user-facing option is outside the range supported by the active input contract.

Definition at line 46 of file ErrorCodes.h.

kOutputPoolExhausted​

const char* simaai::neat::error_codes::kOutputPoolExhausted = "resource.output_pool_exhausted"
constexpr

A plugin could not acquire an output buffer from its pool.

Definition at line 107 of file ErrorCodes.h.

kOutputTimeout​

const char* simaai::neat::error_codes::kOutputTimeout = "runtime.output_timeout"
constexpr

A kernel did not complete within its observation timeout; this does not establish retirement.

Definition at line 71 of file ErrorCodes.h.

kParseLaunch​

const char* simaai::neat::error_codes::kParseLaunch = "build.parse_launch"
constexpr

gst_parse_launch failed to parse the generated GStreamer pipeline string.

Definition at line 59 of file ErrorCodes.h.

kPermissionDenied​

const char* simaai::neat::error_codes::kPermissionDenied = "io.permission_denied"
constexpr

A file/device exists but cannot be opened with the required permissions.

Definition at line 83 of file ErrorCodes.h.

kPipelineShape​

const char* simaai::neat::error_codes::kPipelineShape = "misconfig.pipeline_shape"
constexpr

Pipeline graph geometry mismatch (e.g., wrong number of sinks, cycles, missing terminal Output).

Definition at line 27 of file ErrorCodes.h.

kPipelineSyntax​

const char* simaai::neat::error_codes::kPipelineSyntax = "build.pipeline_syntax"
constexpr

A custom GStreamer launch fragment contains invalid syntax.

Definition at line 61 of file ErrorCodes.h.

kPluginMissing​

const char* simaai::neat::error_codes::kPluginMissing = "build.plugin_missing"
constexpr

A required GStreamer element/plugin is not installed.

Definition at line 63 of file ErrorCodes.h.

kPropertyInvalid​

const char* simaai::neat::error_codes::kPropertyInvalid = "build.property_invalid"
constexpr

A GStreamer element property is unknown or invalid.

Definition at line 65 of file ErrorCodes.h.

kRtspConnectionFailed​

const char* simaai::neat::error_codes::kRtspConnectionFailed = "io.rtsp_connection_failed"
constexpr

An RTSP source could not be contacted or opened.

Definition at line 85 of file ErrorCodes.h.

kRuntimeAbiMismatch​

const char* simaai::neat::error_codes::kRuntimeAbiMismatch = "misconfig.runtime_abi_mismatch"
constexpr

Framework/runtime plugin ABI mismatch, usually from mixed PyNEAT and runtime artifacts.

Definition at line 34 of file ErrorCodes.h.

kRuntimeElementFailed​

const char* simaai::neat::error_codes::kRuntimeElementFailed = "runtime.element_failed"
constexpr

A pipeline element stopped processing for a reason that has no more-specific classification.

Definition at line 69 of file ErrorCodes.h.

kRuntimePull​

const char* simaai::neat::error_codes::kRuntimePull = "runtime.pull"
constexpr

Run::pull() encountered a runtime-side error (downstream EOS, bus error, or appsink failure).

Definition at line 67 of file ErrorCodes.h.

kSourceEnded​

const char* simaai::neat::error_codes::kSourceEnded = "io.source_ended"
constexpr

An input source ended normally and has no more data.

Definition at line 91 of file ErrorCodes.h.

kTensorDtypeMissing​

const char* simaai::neat::error_codes::kTensorDtypeMissing = "misconfig.tensor_dtype_missing"
constexpr

A tensor contract omitted its dtype/format.

Definition at line 44 of file ErrorCodes.h.

kUnexpectedEos​

const char* simaai::neat::error_codes::kUnexpectedEos = "runtime.unexpected_eos"
constexpr

The pipeline reached EOS before a required output was produced.

Definition at line 73 of file ErrorCodes.h.


The documentation for this namespace was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.