Table of Contents

Interface IError

Namespace
Badeend.Errors
Assembly
Badeend.Error.dll

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

object

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

Error?

Remarks

The default implementation returns null.

Message

Human-readable description of the error.

string Message { get; }

Property Value

string