可以在JavaScript的Promise'catch块中使用await吗?

I'm getting an error in the following code, in the await part:

SyntaxError: Can not use keyword 'await' outside an async function (91:12)

.catch((error) => {
      response.setOriginalResponse(error);
      this.logger.log(genericError, LEVEL_ERROR, error);

      if (error.hasOwnProperty('response')) {
        await error.response.json().then((data) => {
          response.setData(data);
          response.addError(parseErrorDescriptionFromResponseMessage(data.message));
        });
      } else {
        response.addError(genericError);
      }

      return response;
    });

The function is async

async registerUser(username, email, password, provisionalToken)

我正在内部进行访存呼叫。