class_docstr: Abstract base class for custom runner classes
class_docstr_tok: ["Abstract","base","class","for","custom","runner","classes"]
docstr: Returns the exception from a trial.
  
  Args:
      trial: Trial to get exception for.
  
  Returns:
      Exception string.
docstr_tok: ["Returns","the","exception","from","a","trial",".","Args",":","trial",":","Trial","to","get","exception","for",".","Returns",":","Exception","string","."]
code: def poll_exception(self, trial: core.base_trial.BaseTrial) -> str:
      """Returns the exception from a trial.
  
      Args:
          trial: Trial to get exception for.
  
      Returns:
          Exception string.
      """
      raise NotImplementedError(
          f"{self.__class__.__name__} does not implement a `poll_exception` "
          "method."
      )
  
file_path: Ax/ax/core/runner.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Any, Dict, Iterable, List, Optional, Set, TYPE_CHECKING
  from ax.utils.common.base import Base
  from ax.utils.common.serialization import SerializationMixin
label_desc: Use image node_id 7 for calling the Runner obj's underlying member method code with example usage: obj.poll_exception(trial) without return types