def __init__(self, reason, def_dict=None):
    super(ApiException, self).__init__()
    self._reason = reason
    self._def_dict = def_dict
Create an exception.
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/api_exception.py/ApiException.__init__