def permission_denied(self, request, message): # Todo figure out how to determine if this is a authorization vs authentication error. raise HTTPForbidden(detail=message)