Class ErrorResult
An error result.
Inheritance
ErrorResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Results
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class ErrorResult : IErrorResult, IEquatable<ErrorResult>
Constructors
| Improve this Doc View SourceErrorResult(String)
Initializes a new instance of ErrorResult.
Declaration
public ErrorResult(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
String | errorMessage | The message of the error. |
Properties
| Improve this Doc View SourceErrorMessage
The message of the error.
Declaration
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
String |