From cb2f413dd62dd65bad682ec74951957e7fc99766 Mon Sep 17 00:00:00 2001 From: Stijn Van Campenhout Date: Wed, 18 Sep 2019 12:12:23 +0200 Subject: [PATCH] Folder not found --- rmapi/exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) 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):