/// <summary>Anies the given request.</summary> /// /// <exception cref="HttpError"> Thrown when a HTTP error error condition occurs.</exception> /// <exception cref="NotImplementedException">Thrown when the requested operation is unimplemented.</exception> /// /// <param name="request">The request.</param> /// /// <returns>An object.</returns> public object Any(AlwaysThrows request) { if (request.StatusCode.HasValue) { throw new HttpError( request.StatusCode.Value, typeof(NotImplementedException).Name, request.Value); } throw new NotImplementedException(GetErrorMessage(request.Value)); }