/// <summary> /// Error response /// </summary> /// <param name="exception">The exception</param> /// <returns></returns> protected BaseHubResponse ErrorResponse(OutboundErrorException exception) { return(new ErrorHubResponse(exception.OutboundError)); }
/// <summary> /// Initializes a new instance of the <see cref="ErrorHubResponse" /> class /// </summary> /// <param name="errorException">The error exception</param> public ErrorHubResponse(OutboundErrorException errorException) : this(errorException.OutboundError) { }