2015-12-12 00:11:05 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2016-08-27 17:39:45 +02:00
|
|
|
# Copyright 2015, 2016 Mike Fährmann
|
2015-12-12 00:11:05 +01:00
|
|
|
#
|
|
|
|
# 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):
|
2016-08-27 17:39:45 +02:00
|
|
|
"""No extractor can handle the given URL"""
|
2016-07-14 14:57:42 +02:00
|
|
|
|
|
|
|
class AuthenticationError(Exception):
|
2016-08-27 17:39:45 +02:00
|
|
|
"""Invalid or missing login information"""
|
|
|
|
|
2016-09-24 13:26:19 +02:00
|
|
|
class AuthorizationError(Exception):
|
|
|
|
"""Insufficient privileges to access a resource"""
|
|
|
|
|
2016-08-27 17:39:45 +02:00
|
|
|
class NotFoundError(Exception):
|
|
|
|
"""Requested resource (gallery/image) does not exist"""
|