Enum alumina::graph::ErrorKind[]

pub enum ErrorKind {
    Msg(String),
    ShapeError(ErrorKind),
    StorageDataMarkedNotRequired,
    StorageDataDeallocated,
    StorageDataAlreadyBorrowed,
    StorageDataAlreadyMutablyBorrowed,
    NodeNameConflict(String),
    NodeTagNameConflict(String),
    OpNameConflict(String),
    OpTagNameConflict(String),
    ParameterNodesMustHaveKnownSize(StringNodeShape),
    ZeroNodesMatchTag(NodeTag),
    MultipleNodesMatchTag(NodeTag),
    ZeroOpsMatchTag(OpTag),
    MultipleOpsMatchTag(OpTag),
    GraphContainsCircularOps(Vec<(OpID, Vec<NodeID>)>),
    GraphContainsCircularPasses(Vec<(PassID, Vec<DataID>)>),
    SubgraphInsufficientInputsForOutputs(Vec<String>),
    SubgraphInsufficientInputsForShapeInference(Vec<String>),
    InputSizeError,
    StaticInputBroadcastFailure(NodeIDVec<Ix>, Vec<Ix>),
    StorageImmutableBorrowError(StringString),
    StorageMutableBorrowError(StringString),
    ShapePropagationError(StringString),
    PassError(StringString),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

This errorkind indicates that the data requested was never allocated as it was not a required component of the subgraph.

This errorkind indicates that the data requested has already been deallocated. Ensure that it was included in the output used to define the subgraph being executed.

This errorkind indicates that data requested cannot be mutably borrowed as it has already been immutably borrowed. Borrows are not reset until after the pass has completed.

This errorkind indicates that data requested cannot be borrowed as it has already been mutably borrowed. Borrows are not reset until after the pass has completed.

This errorkind indicates that two identical node names have been supplied. Node names must be unique.

This errorkind indicates that the node name supplied is identical to a node tag. Node names must be unique.

This errorkind indicates that two identical op names have been supplied. Op names must be unique.

This errorkind indicates that the op name supplied is identical to an op tag. Op names must be unique.

This errorkind indicates that a node was marked as a Parameter did not have a Known size. Parameter node shapes cannot contain any Unknown or Interval dimensions.

Could not find any nodes matching the tag supplied

Found more than one nodes matching the tag supplied, use the method for multiple NodeIDs.

Could not find any ops matching the tag supplied

Found more than one ops matching the tag supplied, use the method for multiple OpIDs.

A topological sort could not be completed, due to circular dependencies.

A topological sort could not be completed, due to circular dependencies.

The outputs of the subgraph are not computable from the inputs

Some NodeShapes could not be inferred

Occurs when a pass immutably accesses data at a data_ID not listed as an input or output dependency

Occurs when a pass mutably accesses data at a data_ID not listed as an output dependency

Generic error to be returned from the run() method of a Pass

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl From<ErrorKind> for Error

Performs the conversion.

impl Debug for ErrorKind

Formats the value using the given formatter. Read more

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl From<ErrorKind> for ErrorKind

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind