code: public function memberRequired(string $path, string $member): ErrorInterface
      {
          return new Error(
              null,
              null,
              Response::HTTP_BAD_REQUEST,
              $this->trans('member_required', 'code'),
              $this->trans('member_required', 'title'),
              $this->trans('member_required', 'detail', compact('member')),
              $this->pointer($path)
          );
      }
docs: Create an error for a member that is required.
  
  @param string $path
  @param string $member
  @return ErrorInterface