Table of Contents

Class EdgeOnnxException

Namespace
Qavren.Edge.Onnx
Assembly
Qavren.Edge.Onnx.dll

Every ONNX-runtime failure that is not a provisioning failure: an unsupported RID, a refused execution provider, a memory pre-flight refusal, a signature mismatch, a session that would not create, and the OnnxStaticShapesUnpinned guard.

public sealed class EdgeOnnxException : EdgeException, ISerializable
Inheritance
EdgeOnnxException
Implements
Inherited Members

Remarks

Derives from SP1's EdgeException, so the HelpLink convention (foundation/docs/errors.md#<code>) applies for free.

Constructors

EdgeOnnxException(EdgeErrorCode, string, Exception?)

Creates the exception.

Properties

AvailableBytes

The bytes the OS reported available.

ExecutionProviders

Every execution-provider attempt made before the failure, in order.

ModelId

The model this failure concerns, when it concerns one.

Remediation

What the caller can do about it, in one sentence.

RequiredBytes

The bytes the operation needed, when a memory or disk budget was the cause.

RuntimeIdentifier

The host runtime identifier, as ORT sees it.