public override CosmosException Visit(MalformedContinuationTokenException malformedContinuationTokenException) { return(CosmosExceptionFactory.CreateBadRequestException( message: malformedContinuationTokenException.Message, headers: new Headers(), stackTrace: malformedContinuationTokenException.StackTrace, innerException: malformedContinuationTokenException)); }
public override CosmosException Visit(MalformedContinuationTokenException malformedContinuationTokenException, ITrace trace) { Headers headers = new Headers() { SubStatusCode = Documents.SubStatusCodes.MalformedContinuationToken }; return(CosmosExceptionFactory.CreateBadRequestException( message: malformedContinuationTokenException.Message, headers: headers, stackTrace: malformedContinuationTokenException.StackTrace, innerException: malformedContinuationTokenException, trace: trace)); }
public override CosmosException Visit(MalformedContinuationTokenException malformedContinuationTokenException) { return(new BadRequestException( $"{nameof(BadRequestException)} due to {nameof(MalformedContinuationTokenException)}", malformedContinuationTokenException)); }
public abstract TResult Visit(MalformedContinuationTokenException malformedContinuationTokenException);