Class ExceptionResult
An exception error result.
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 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 |
---|---|---|
Exception | error | The Exception. |
Properties
| Improve this Doc View SourceException
Contains the exception that was thrown.
Declaration
public Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
Exception |