Home
last modified time | relevance | path

Searched refs:error_class (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc/src/ruby/spec/
Derror_sanity_spec.rb30 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/
Drevision_control.py138 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/python/oauth2client/tests/contrib/
Dtest_multistore_file.py37 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/tensorflow/tensorflow/python/eager/
Dcore.py26 error_class = errors.exception_type_from_error_code(status.code)
27 return error_class(None, None, status.message, status.payloads)
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_errors.py392 def log_and_raise(error_class, *args): argument
403 error_object = error_class(*args)
/external/python/python-api-core/google/api_core/
Dexceptions.py407 error_class = exception_class_for_http_status(status_code)
408 error = error_class(message, **kwargs)
476 error_class = exception_class_for_grpc_status(status_code)
477 error = error_class(message, **kwargs)
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
D_control_flow_tutorial.ipynb51 "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/
Dlexer.py236 self.error_class = cls
239 raise self.error_class(self.message, lineno, filename)
/external/libchrome/third_party/jinja2/
Dlexer.py226 self.error_class = cls
229 raise self.error_class(self.message, lineno, filename)
/external/python/cpython3/Lib/test/
Dtest_codeccallbacks.py1070 with self.subTest(handler=handler, error_class=cls):
1075 with self.subTest(handler=handler, error_class=cls):
/external/python/parse_type/tests/
Dtest_parse.py918 for bad_regex_group_count, error_class in BAD_REGEX_GROUP_COUNTS_AND_ERRORS:
922 self.assertRaises(error_class, parser.parse, 'test meter-10')
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h15051 enum MCE_ErrorClass error_class: 8; member
18421 enum MCE_ErrorClass error_class: 8; member
18443 unsigned int error_class; member
18454 unsigned int error_class; member
Dvmlinux.h15051 enum MCE_ErrorClass error_class: 8; member
18421 enum MCE_ErrorClass error_class: 8; member
18443 unsigned int error_class; member
18454 unsigned int error_class; member