diff --git a/gallery_dl/exception.py b/gallery_dl/exception.py index 84c5ed9c..0448aa7e 100644 --- a/gallery_dl/exception.py +++ b/gallery_dl/exception.py @@ -1,13 +1,16 @@ # -*- coding: utf-8 -*- -# Copyright 2015 Mike Fährmann +# Copyright 2015, 2016 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. class NoExtractorError(Exception): - pass + """No extractor can handle the given URL""" class AuthenticationError(Exception): - pass + """Invalid or missing login information""" + +class NotFoundError(Exception): + """Requested resource (gallery/image) does not exist"""