Class ExceptionResult
An exception error result.
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 ExceptionResult : ErrorResult, IEquatable<ErrorResult>, IExceptionResult, IErrorResult, IEquatable<ExceptionResult>
Constructors
| Improve this Doc View SourceExceptionResult(Exception)
Initializes a new instance of ExceptionResult.
Declaration
public ExceptionResult(Exception error)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | error | The System.Exception. |
Properties
| Improve this Doc View SourceException
Contains the exception that was thrown.
Declaration
public Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
System.Exception |
Implements
System.IEquatable<T>
System.IEquatable<T>