You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PathRootError::InvalidRoot(inner) => write!(f,"The root namespace id in Dropbox-API-Path-Root header is not valid. The value of this error is use's latest root info: {:?}", inner),
204
+
PathRootError::NoPermission => f.write_str("You don't have permission to access the namespace id in Dropbox-API-Path-Root header."),
DeleteManualContactsError::ContactsNotFound(inner) => write!(f,"Can't delete contacts from this list. Make sure the list only has manually added contacts. The deletion was cancelled: {:?}", inner),
PollError::InvalidAsyncJobId => f.write_str("The job ID is invalid."),
379
+
PollError::InternalError => f.write_str("Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely."),
InvalidPropertyGroupError::TemplateNotFound(inner) => write!(f,"Template does not exist for the given identifier: {:?}", inner),
1158
+
InvalidPropertyGroupError::RestrictedContent => f.write_str("You do not have permission to modify this template."),
1159
+
InvalidPropertyGroupError::UnsupportedFolder => f.write_str("This folder cannot be tagged. Tagging folders is not supported for team-owned templates."),
1160
+
InvalidPropertyGroupError::PropertyFieldTooLarge => f.write_str("One or more of the supplied property field values is too large."),
1161
+
InvalidPropertyGroupError::DoesNotFitTemplate => f.write_str("One or more of the supplied property fields does not conform to the template specifications."),
1162
+
InvalidPropertyGroupError::DuplicatePropertyGroups => f.write_str("There are 2 or more property groups referring to the same templates in the input."),
1163
+
_ => write!(f,"{:?}",*self),
1164
+
}
1148
1165
}
1149
1166
}
1150
1167
@@ -1364,7 +1381,10 @@ impl ::std::error::Error for LookUpPropertiesError {
LookupError::NotFound => f.write_str("There is nothing at the given path."),
1513
+
LookupError::NotFile => f.write_str("We were expecting a file, but the given path refers to something that isn't a file."),
1514
+
LookupError::NotFolder => f.write_str("We were expecting a folder, but the given path refers to something that isn't a folder."),
1515
+
LookupError::RestrictedContent => f.write_str("The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims."),
1516
+
_ => write!(f,"{:?}",*self),
1517
+
}
1492
1518
}
1493
1519
}
1494
1520
@@ -1626,7 +1652,15 @@ impl ::std::error::Error for ModifyTemplateError {
ModifyTemplateError::TemplateNotFound(inner) => write!(f,"Template does not exist for the given identifier: {:?}", inner),
1657
+
ModifyTemplateError::RestrictedContent => f.write_str("You do not have permission to modify this template."),
1658
+
ModifyTemplateError::ConflictingPropertyNames => f.write_str("A property field key with that name already exists in the template."),
1659
+
ModifyTemplateError::TooManyProperties => f.write_str("There are too many properties in the changed template. The maximum number of properties per template is 32."),
1660
+
ModifyTemplateError::TooManyTemplates => f.write_str("There are too many templates for the team."),
1661
+
ModifyTemplateError::TemplateAttributeTooLarge => f.write_str("The template name, description or one or more of the property field keys is too large."),
1662
+
_ => write!(f,"{:?}",*self),
1663
+
}
1630
1664
}
1631
1665
}
1632
1666
@@ -1850,7 +1884,12 @@ impl ::std::error::Error for PropertiesError {
UpdatePropertiesError::TemplateNotFound(inner) => write!(f,"Template does not exist for the given identifier: {:?}", inner),
4223
+
UpdatePropertiesError::RestrictedContent => f.write_str("You do not have permission to modify this template."),
4224
+
UpdatePropertiesError::UnsupportedFolder => f.write_str("This folder cannot be tagged. Tagging folders is not supported for team-owned templates."),
4225
+
UpdatePropertiesError::PropertyFieldTooLarge => f.write_str("One or more of the supplied property field values is too large."),
4226
+
UpdatePropertiesError::DoesNotFitTemplate => f.write_str("One or more of the supplied property fields does not conform to the template specifications."),
4227
+
UpdatePropertiesError::DuplicatePropertyGroups => f.write_str("There are 2 or more property groups referring to the same templates in the input."),
0 commit comments