Source code for api.admin.exceptions

from .problem_details import *

[docs]class AdminNotAuthorized(Exception): status_code = 403
[docs] def as_problem_detail_document(self, debug=False): return ADMIN_NOT_AUTHORIZED