Table of Contents

Class Result.ResultError

Namespace
Htmx.Components.Models
Assembly
Htmx.Components.dll

Represents error information that can be implicitly converted to a failed Result. This class encapsulates error messages for structured error handling.

public class Result.ResultError
Inheritance
Result.ResultError
Inherited Members
Extension Methods

Constructors

ResultError(string)

Initializes a new instance of the ResultError class with the specified error message.

public ResultError(string errorMessage)

Parameters

errorMessage string

The error message describing what went wrong

Properties

ErrorMessage

Gets the error message describing what went wrong.

public string ErrorMessage { get; }

Property Value

string