Expand description
Error types and utilities.
Structs§
- Error
- A generic wrapper for any error.
- NoCustom
Error - An empty value indicating that there is no custom error type associated with this server function.
- Server
FnUrl Error - Associates a particular server function error with the server function found at a particular path.
- Wrap
Error - Wraps some error type, which may implement any of
Error
,Clone
, orDisplay
.
Enums§
- Server
FnError - Type for errors that can occur when using server functions.
- Server
FnError Err - 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§
- Server
FnError Serde - 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
.