Home
last modified time | relevance | path

Searched refs:InvalidStateError (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/asyncio/
Dfutures.py198 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)
Dexceptions.py17 class InvalidStateError(Exception): class
Dtasks.py217 raise exceptions.InvalidStateError(
/third_party/python/Lib/test/test_asyncio/
Dtest_futures.py174 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)
Dtest_tasks.py2931 with self.assertRaisesRegex(asyncio.InvalidStateError,
2957 with self.assertRaisesRegex(asyncio.InvalidStateError,
/third_party/python/Doc/library/
Dasyncio-future.rst122 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
Dasyncio-exceptions.rst36 .. exception:: InvalidStateError
Dconcurrent.futures.rst416 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is
429 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is
511 .. exception:: InvalidStateError
Dasyncio-task.rst956 a :exc:`InvalidStateError` exception.
970 :exc:`InvalidStateError` exception.
/third_party/python/Lib/concurrent/futures/
D__init__.py13 InvalidStateError,
D_base.py57 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/
DErrors.h34 static Napi::Error InvalidStateError(Napi::Env);
DErrors.cpp91 Napi::Error Errors::InvalidStateError(Napi::Env env) { in InvalidStateError() function in wgpu::binding::Errors
/third_party/python/Lib/test/
Dtest_concurrent_futures.py1516 futures.InvalidStateError,
1531 futures.InvalidStateError,
/third_party/node/test/fixtures/wpt/resources/
Dtestharness.js1412 InvalidStateError: 11, property
/third_party/python/Misc/NEWS.d/
D3.8.0b1.rst721 asyncio.InvalidStateError from their concurrent.futures.* counterparts.
D3.8.0a1.rst3274 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