Class ErrorResult
An error result.
Inheritance
System.Object
ErrorResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.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 |
---|---|
System.String |
Implements
System.IEquatable<T>