Class ZendeskResult<TError>
Represents a specialized operation result that includes a typed error enumeration for failures.
public class ZendeskResult<TError> : ZendeskResult where TError : struct, Enum
Type Parameters
TError
The error enumeration type associated with potential failures.
- Inheritance
-
ZendeskResult<TError>
- Derived
- Inherited Members
Constructors
ZendeskResult()
Initializes a new successful instance of the ZendeskResult class.
protected ZendeskResult()
ZendeskResult(TError)
Initializes a new failed instance of the ZendeskResult class with the enumerated error reason.
protected ZendeskResult(TError error)
Parameters
error
TErrorThe enumerated error associated with the failure.
Properties
Error
public TError? Error { get; }
Property Value
- TError?