1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

new exception + docstrings

This commit is contained in:
Mike Fährmann 2016-08-27 17:39:45 +02:00
parent 813320d7db
commit 687478f6f6
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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"""