본문으로 건너뛰기

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 *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()

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 123 of file ErrorCodes.h.

Variables

kAcceleratorExecutionFailed

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

The dispatcher was available, but accelerator execution failed.

Definition at line 114 of file ErrorCodes.h.

kBufferTooSmall

constexpr 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 100 of file ErrorCodes.h.

kCameraNotFound

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

The requested camera name is not available.

Definition at line 78 of file ErrorCodes.h.

kCaps

constexpr 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

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

A decoder failed after accepting the encoded stream.

Definition at line 88 of file ErrorCodes.h.

kDeviceMemoryExhausted

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

Contiguous device DMA/CMA memory is exhausted.

Definition at line 96 of file ErrorCodes.h.

kDiskFull

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

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

Definition at line 102 of file ErrorCodes.h.

kDispatcherUnavailable

constexpr 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 112 of file ErrorCodes.h.

kDispatcherUnavailableLegacy

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

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

Definition at line 116 of file ErrorCodes.h.

kEncodeFailed

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

An encoder failed while producing an encoded stream.

Definition at line 90 of file ErrorCodes.h.

kFileNotFound

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

An input file does not exist.

Definition at line 72 of file ErrorCodes.h.

kGraphElementName

constexpr 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

constexpr 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

constexpr 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

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

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

Definition at line 120 of file ErrorCodes.h.

kInvalidH264Stream

constexpr 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 86 of file ErrorCodes.h.

kIoOpen

constexpr 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 70 of file ErrorCodes.h.

kIoParse

constexpr 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 68 of file ErrorCodes.h.

kMediaCaps

constexpr 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

constexpr 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

constexpr 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 94 of file ErrorCodes.h.

kModelNotFound

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

A model archive path does not exist.

Definition at line 80 of file ErrorCodes.h.

kOptionOutOfRange

constexpr 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

constexpr 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 98 of file ErrorCodes.h.

kOutputTimeout

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

No output arrived before the configured wait expired.

Definition at line 62 of file ErrorCodes.h.

kParseLaunch

constexpr 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 50 of file ErrorCodes.h.

kPermissionDenied

constexpr 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 74 of file ErrorCodes.h.

kPipelineShape

constexpr 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

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

A custom GStreamer launch fragment contains invalid syntax.

Definition at line 52 of file ErrorCodes.h.

kPluginMissing

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

A required GStreamer element/plugin is not installed.

Definition at line 54 of file ErrorCodes.h.

kPropertyInvalid

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

A GStreamer element property is unknown or invalid.

Definition at line 56 of file ErrorCodes.h.

kRtspConnectionFailed

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

An RTSP source could not be contacted or opened.

Definition at line 76 of file ErrorCodes.h.

kRuntimeAbiMismatch

constexpr 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

constexpr 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 60 of file ErrorCodes.h.

kRuntimePull

constexpr 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 58 of file ErrorCodes.h.

kSourceEnded

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

An input source ended normally and has no more data.

Definition at line 82 of file ErrorCodes.h.

kTensorDtypeMissing

constexpr 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

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

The pipeline reached EOS before a required output was produced.

Definition at line 64 of file ErrorCodes.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.