Expand description
Error-handling utilities.
Re-exports§
pub use crate::backend::BackendError;
Macros§
- Construct an ad-hoc error from a string or existing non-
anyhow
error value. - Return early with an error.
- Return early with an error if a condition is not satisfied.
Structs§
- Insufficient buffer size error.
- The
Error
type, a wrapper around a dynamic error type.
Enums§
- Enum describing what kind of buffer had insufficient size, in a
BufferSizeError
. HandleError
is for errors that might arise when using the low level handle interface. For example trying to use a handle for an operation that has already been closed out.- An enum representing the type of handles that exist within the Compute platform that point to resources on the host side that users can access or manipulate. Typically this enum is used as part of
HandleError
to let you know the type of handle involved when there is an error thrown while using the lower level handle interface
Traits§
- Provides the
context
method forResult
.