Пример #1
0
 public ErrorResponse(Exception ex, StoryProvider storyProvider) : this(ex)
 {
 }
Пример #2
0
 public ErrorResponse(OperationCanceledException ex, StoryProvider storyProvider) : this(
         new StoryProviderException(RequestFailReason.Timeout, storyProvider, ex))
 {
 }
 public StoryProviderException(RequestFailReason failReason, StoryProvider storyProvider,
                               Exception innerException) : base(SelectMessage(failReason), innerException)
 {
     FailureReasonCode = failReason;
     StoryProvider     = storyProvider;
 }