From c33f8f92453637dc8a7e7666c888ec5e70ed212e Mon Sep 17 00:00:00 2001 From: Vivek Anand Date: Feb 15 2017 10:28:57 +0000 Subject: Add new exception: AccessLevelNotFound Signed-off-by: Vivek Anand --- diff --git a/pagure/exceptions.py b/pagure/exceptions.py index edcc943..6892623 100644 --- a/pagure/exceptions.py +++ b/pagure/exceptions.py @@ -30,6 +30,12 @@ class ProjectBlackListedException(PagureException): pass +class AccessLevelNotFound(PagureException): + ''' Exception raised when the access level asked is not allowed on pagure + ''' + pass + + class FileNotFoundException(PagureException): ''' Exception thrown when trying to create a repository that already exists.