Skip to main content

ErrorOf

Type Alias ErrorOf 

Source
pub type ErrorOf<X, S> = AccessError<VisitError<<X as Xml>::Error, Error<<S as RangeSource>::Error>>, <X as Xml>::Id>;
Expand description

XML node provenance and original ZIP/source causes remain independent.

Aliased Type§

pub enum ErrorOf<X, S> {
    Xml(VisitError<<X as Xml>::Error, Error<<S as RangeSource>::Error>>),
    Resource {
        node: <X as Xml>::Id,
        cause: MemoryError,
    },
    Changed {
        node: <X as Xml>::Id,
    },
}

Variants§

§

Xml(VisitError<<X as Xml>::Error, Error<<S as RangeSource>::Error>>)

The XML owner’s original cause.

§

Resource

Common admission failed before callback dispatch.

Fields

§node: <X as Xml>::Id

Original node associated with the attempted operation.

§cause: MemoryError

Original execution refusal.

§

Changed

Document identity or generation changed; previous evidence is unusable.

Fields

§node: <X as Xml>::Id

Node associated with the attempted operation.