Interface IError
A custom error implementation that can be freely converted into an Error.
public interface IError
Properties
Data
The payload attached at this specific point in the error chain.
object? Data { get; }
Property Value
Remarks
The default implementation returns this
.
InnerError
Gets the inner error associated with the current Error
instance, or null
if this is a "root" error.
Error? InnerError { get; }
Property Value
Remarks
The default implementation returns null
.
Message
Human-readable description of the error.
string Message { get; }