diff --git a/rmapi/exceptions.py b/rmapi/exceptions.py index 94a56d3..ae7a91f 100644 --- a/rmapi/exceptions.py +++ b/rmapi/exceptions.py @@ -10,6 +10,12 @@ class DocumentNotFound(Exception): super(DocumentNotFound, self).__init__(msg) +class FolderNotFound(Exception): + """Could not found a requested folder""" + def __init__(self, msg): + super(FolderNotFound, self).__init__(msg) + + class ApiError(Exception): """Could not found a requested document""" def __init__(self, msg, response=None):