Namespace Badeend
Classes
- Result
Supporting methods for Result<TValue> and Result<TValue, TError>.
Structs
- Error
A lightweight immutable error representation that contains:
- A human-readable error description. (Message)
- (Optional) A custom data payload, used to provide additional context beyond the message. (Data)
- (Optional) An inner error, used to build up a "chain" of context. (InnerError)
- Result<TValue>
Represents the result of a fallible operation. This type is a shorthand for: Result<TValue, Badeend.Error>.
- Result<TValue, TError>
Represents the result of a fallible operation.
A
Result
can be in one of two states: Success or Error. Both states have an associated payload of typeTValue
orTError
respectively.
Enums
- ResultState
State of a result.