Module fastly::error[][src]

Expand description

Error-handling utilities.

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

Backend-related errors.

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@Edge platfrom 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