This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-13 17:52:09 +00:00
|
|
|
from werkzeug.exceptions import Unauthorized, Forbidden
|
2018-04-27 17:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
class WrongCredentials(Unauthorized):
|
|
|
|
description = 'There is not an user with the matching username/password'
|
2020-05-13 17:52:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
class InsufficientPermission(Forbidden):
|
|
|
|
description = (
|
|
|
|
"You don't have the permissions to access the requested"
|
|
|
|
"resource. It is either read-protected or not readable by the"
|
|
|
|
"server."
|
|
|
|
)
|