Home
last modified time | relevance | path

Searched refs:error_class (Results 1 – 8 of 8) 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.py130 def gitcmd(self, cmd, ignore_status=False, error_class=None, argument
148 ignore_status = ignore_status or error_class is not None
151 if rv.exit_status != 0 and error_class is not None:
155 raise error_class(error_msg if error_msg is not None
280 error_class=GitResetError,
333 error_class=GitError,
337 error_class=GitError,
348 error_class=GitError,
351 error_class=GitError,
354 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.py30 error_class = errors.exception_type_from_error_code(code)
31 return error_class(None, None, message)
/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/curl/tests/python_dependencies/impacket/
Dsmb.py489 def __init__( self, error_string, error_class, error_code, nt_status = 0): argument
494 self.error_class = 0
495 self.error_code = (error_code << 16) + error_class
497 self.error_class = error_class
502 return self.error_class
508 error_class = SessionError.error_classes.get( self.error_class, None )
509 if not error_class:
511 error_class_str = self.error_class
513 error_class_str = error_class[0]
514 error_code = error_class[1].get( self.error_code, None )
/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.py1114 with self.subTest(handler=handler, error_class=cls):
1119 with self.subTest(handler=handler, error_class=cls):