Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions R/DataMart.R
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,12 @@ QSaveData <- function(object, filename, compression.file.size.threshold = NULL,

if (!has.errored && res$status_code == 413) # 413 comes from IIS when we violate its web.config limits
stopBadRequest(res, "Could not write to Displayr Cloud Drive. Data to write is too large.")
else if (!has.errored && res$status_code == 422)
{
stop("QSaveData has encountered an unknown error. ",
"422: The file could not properly be saved. ",
"The likely cause was an incorrect path preceding the filename, or insufficient access to the file path.")
}
else if (!has.errored && res$status_code == 404)
{
stop("QSaveData has encountered an unknown error. ",
Expand Down
Loading