Module error

Source
Expand description

Error types.

Macros§

box_error 🔒

Structs§

ElementError
A complete error for an attribute and its erroneous value
InvalidTransform
Indicates that a transform is not invertible.

Enums§

AcquireError
Errors from crate::document::AcquiredNodes.
AllowedUrlError
Errors returned when resolving an URL
DefsLookupErrorKind
Errors returned when looking up a resource by URL reference.
ImplementationLimit
Errors for implementation-defined limits, to mitigate malicious SVG documents.
InternalRenderingError
Errors that can happen while rendering or measuring an SVG document.
LoadingError
Errors that can happen while loading an SVG document.
NodeIdError
Errors returned when creating a NodeId out of a string
ValueErrorKind
A simple error which refers to an attribute’s value

Traits§

AttributeResultExt
Helper for converting Result<O, E> into Result<O, ElementError>

Functions§

parse_error_to_element_error 🔒
Convert a short-lived ParseError into a long-lived ElementError

Type Aliases§

ParseError
A short-lived error.