Searched refs:InvalidStateError (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Lib/asyncio/ |
D | futures.py | 198 raise exceptions.InvalidStateError('Result is not ready.') 216 raise exceptions.InvalidStateError('Exception is not set.') 258 raise exceptions.InvalidStateError(f'{self._state}: {self!r}') 270 raise exceptions.InvalidStateError(f'{self._state}: {self!r}') 321 elif exc_class is concurrent.futures.InvalidStateError: 322 return exceptions.InvalidStateError(*exc.args)
|
D | exceptions.py | 17 class InvalidStateError(Exception): class
|
D | tasks.py | 217 raise exceptions.InvalidStateError(
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_futures.py | 174 self.assertRaises(asyncio.InvalidStateError, fut.result) 177 self.assertRaises(asyncio.InvalidStateError, fut.exception) 249 self.assertRaises(asyncio.InvalidStateError, f.set_result, None) 250 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 255 self.assertRaises(asyncio.InvalidStateError, f.result) 262 self.assertRaises(asyncio.InvalidStateError, f.set_result, None) 263 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 269 self.assertRaises(asyncio.InvalidStateError, f.exception) 280 self.assertRaises(asyncio.InvalidStateError, f.set_result, None) 281 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
|
D | test_tasks.py | 2931 with self.assertRaisesRegex(asyncio.InvalidStateError, 2957 with self.assertRaisesRegex(asyncio.InvalidStateError,
|
/third_party/python/Doc/library/ |
D | asyncio-future.rst | 122 a :exc:`InvalidStateError` exception. 128 Raises a :exc:`InvalidStateError` error if the Future is 135 Raises a :exc:`InvalidStateError` error if the Future is 210 :exc:`InvalidStateError` exception. 266 raise an :exc:`InvalidStateError` exception when the Future is not
|
D | asyncio-exceptions.rst | 36 .. exception:: InvalidStateError
|
D | concurrent.futures.rst | 416 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is 429 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is 511 .. exception:: InvalidStateError
|
D | asyncio-task.rst | 956 a :exc:`InvalidStateError` exception. 970 :exc:`InvalidStateError` exception.
|
/third_party/python/Lib/concurrent/futures/ |
D | __init__.py | 13 InvalidStateError,
|
D | _base.py | 57 class InvalidStateError(Error): class 534 raise InvalidStateError('{}: {!r}'.format(self._state, self)) 549 raise InvalidStateError('{}: {!r}'.format(self._state, self))
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | Errors.h | 34 static Napi::Error InvalidStateError(Napi::Env);
|
D | Errors.cpp | 91 Napi::Error Errors::InvalidStateError(Napi::Env env) { in InvalidStateError() function in wgpu::binding::Errors
|
/third_party/python/Lib/test/ |
D | test_concurrent_futures.py | 1516 futures.InvalidStateError, 1531 futures.InvalidStateError,
|
/third_party/node/test/fixtures/wpt/resources/ |
D | testharness.js | 1412 InvalidStateError: 11, property
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0b1.rst | 721 asyncio.InvalidStateError from their concurrent.futures.* counterparts.
|
D | 3.8.0a1.rst | 3274 Create a dedicated ``asyncio.CancelledError``, ``asyncio.InvalidStateError`` 4556 Add ``InvalidStateError`` to :mod:`concurrent.futures`. 4558 ``InvalidStateError`` if the futures are not pending or running. Patch by
|