public override RpcFaultException CreateFault(RpcFaultException <TFault> exception) { if (exception is null) { throw new ArgumentNullException(nameof(exception)); } return(new RpcFaultException <TFault>(exception.Message, exception.Fault)); }
internal Exception?TryConvertException(RpcFaultException faultException) { foreach (var converter in this.customExceptionConverters) { var exception = converter.TryCreateException(faultException); if (exception != null) { return(exception); } } return(baseHandler?.TryConvertException(faultException)); }