def get_cookie(self, name, default=None):
        if self.cookies is not None and name in self.cookies:
            return self.cookies[name].value
        return default
Custom exception handler that returns errors object as an array
dataset/ETHPy150Open toastdriven/itty/itty.py/Request.get_cookie--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/api/base/exceptions.py/json_api_exception_handler