Class InteractionRequirementErrorResult
An error result describing an error thrown by a InteractionRequirementAttribute.
Inheritance
System.Object
InteractionRequirementErrorResult
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.Commands.Models.Results
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public class InteractionRequirementErrorResult : ErrorResult, IErrorResult, IEquatable<ErrorResult>, IEquatable<InteractionRequirementErrorResult>
Constructors
| Improve this Doc View SourceInteractionRequirementErrorResult(String)
Initializes a new instance of InteractionRequirementErrorResult.
Declaration
public InteractionRequirementErrorResult(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMessage | The message of the error. |
Implements
System.IEquatable<T>
System.IEquatable<T>