Searched refs:error_class (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc/src/ruby/spec/ |
D | error_sanity_spec.rb | 30 error_class = GRPC.const_get(camel_case) 32 expect(error_class < GRPC::BadStatus) 34 error_object = error_class.new 46 expect(from_factory.is_a?(error_class)).to be(true)
|
/external/autotest/client/common_lib/ |
D | revision_control.py | 138 def gitcmd(self, cmd, ignore_status=False, error_class=None, argument 156 ignore_status = ignore_status or error_class is not None 159 if rv.exit_status != 0 and error_class is not None: 163 raise error_class(error_msg if error_msg is not None 288 error_class=GitResetError, 341 error_class=GitError, 345 error_class=GitError, 356 error_class=GitError, 359 error_class=GitError, 362 error_class=GitError,
|
/external/tensorflow/tensorflow/python/eager/ |
D | core.py | 30 error_class = errors.exception_type_from_error_code(code) 31 return error_class(None, None, message)
|
/external/python/oauth2client/tests/contrib/ |
D | test_multistore_file.py | 37 def __init__(self, filename_str, error_class, error_code): argument 39 self.error_class = error_class 45 raise self.error_class(self.error_code, '') 114 for error_class in (IOError, OSError): 117 filename, error_class, error_code)
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_errors.py | 392 def log_and_raise(error_class, *args): argument 403 error_object = error_class(*args)
|
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/ |
D | _control_flow_tutorial.ipynb | 51 "def assert_raises(error_class):\n", 54 " except error_class as e:\n", 55 " print('Caught expected exception \\n {}:'.format(error_class))\n", 61 " error_class))"
|
/external/python/jinja/src/jinja2/ |
D | lexer.py | 236 self.error_class = cls 239 raise self.error_class(self.message, lineno, filename)
|
/external/libchrome/third_party/jinja2/ |
D | lexer.py | 226 self.error_class = cls 229 raise self.error_class(self.message, lineno, filename)
|
/external/python/cpython3/Lib/test/ |
D | test_codeccallbacks.py | 1070 with self.subTest(handler=handler, error_class=cls): 1075 with self.subTest(handler=handler, error_class=cls):
|
/external/python/parse_type/tests/ |
D | test_parse.py | 918 for bad_regex_group_count, error_class in BAD_REGEX_GROUP_COUNTS_AND_ERRORS: 922 self.assertRaises(error_class, parser.parse, 'test meter-10')
|