Expand description

Error types and utilities.

Structs§

Error
A generic wrapper for any error.
NoCustomError
An empty value indicating that there is no custom error type associated with this server function.
ServerFnUrlError
Associates a particular server function error with the server function found at a particular path.
WrapError
Wraps some error type, which may implement any of Error, Clone, or Display.

Enums§

ServerFnError
Type for errors that can occur when using server functions.
ServerFnErrorErr
Type for errors that can occur when using server functions.

Constants§

SERVER_FN_ERROR_HEADER
A custom header that can be used to indicate a server function returned an error.

Traits§

ServerFnErrorSerde
A serializable custom server function error type.
ViaError
This trait serves as the conversion method between a variety of types and ServerFnError.

Type Aliases§

Result
This is a result type into which any error can be converted, and which can be used directly in your view.