Interface IError
- Namespace
- LightResults
- Assembly
- LightResults.dll
Defines an error with a message and associated metadata.
public interface IError
Properties
Exception
Gets the LightResults.IError.Exception associated with the error if one exists.
Exception? Exception { get; }
Property Value
Message
Gets the error message.
string Message { get; }
Property Value
Metadata
Gets the metadata associated with the error.
IReadOnlyDictionary<string, object?> Metadata { get; }
Property Value
Remarks
The metadata is represented as a read-only dictionary of key-value pairs, where the keys are System.String and the values are System.Object which may be null.