TryResolveFault Method
Definition
- Namespace
- Cuemon.Diagnostics
- Assemblies
- Cuemon.Diagnostics.dll
TryResolveFault(Exception, out TDescriptor)
Attempts to resolve TDescriptor from the underlying function delegates.
public bool TryResolveFault(Exception failure, out TDescriptor descriptor)
Parameters
failureExceptionThe Exception that caused the current failure.
descriptorTDescriptorThe resulting
TDescriptorinstance providing the reason of thefailure, ordefault.
Returns
- bool
trueif an instance ofTDescriptorproviding the reason for thefailureis available,falseotherwise.