Home
last modified time | relevance | path

Searched refs:value_error (Results 1 – 11 of 11) sorted by relevance

/external/pigweed/pw_build/py/pw_build/
Dzip.py68 except ValueError as value_error:
72 raise ZipError(msg) from value_error
/external/python/pybind11/docs/advanced/
Dexceptions.rst51 | :class:`pybind11::value_error` | ``ValueError`` (used to indicate |
216 } catch (py::value_error &boromir) {
225 // py::value_error is a request for pybind11 to raise a Python exception
226 throw py::value_error("The ball");
229 // py::value_error is not a Python exception
231 } catch (py::value_error &dog) {
284 :class:`pybind11::value_error` are *not* Python exceptions; they are C++
/external/tflite-support/tensorflow_lite_support/metadata/cc/python/
Dmetadata_version.cc46 pybind11::value_error( in PYBIND11_MODULE()
/external/python/pybind11/tests/
Dpybind11_cross_module_tests.cpp30 m.def("throw_pybind_value_error", []() { throw py::value_error("pybind11 value error"); }); in PYBIND11_MODULE()
Dtest_sequences_and_iterators.cpp37 throw py::value_error("Please provide at least 5 elements for testing."); in test_random_access_iterator()
/external/tensorflow/tensorflow/python/client/
Ddebug_events_writer_wrapper.cc37 throw py::value_error(tensorflow::strings::Printf( in PYBIND11_MODULE()
/external/llvm-project/lldb/source/Expression/
DFunctionCaller.cpp174 Status value_error; in WriteFunctionArguments() local
/external/python/pybind11/include/pybind11/
Dcast.h1377 throw value_error("Cannot convert None to a character");
1382 throw value_error("Cannot convert empty string to a character");
1403 throw value_error("Character code point not in range(0x100)");
1413 throw value_error("Character code point not in range(0x10000)");
1417 throw value_error("Expected a character, but multi-character string found");
Dstl_bind.h93 throw value_error();
Dpybind11.h1747 … throw value_error(type_name + ": element \"" + std::string(name_) + "\" already exists!");
/external/python/pybind11/include/pybind11/detail/
Dcommon.h726 PYBIND11_RUNTIME_EXCEPTION(value_error, PyExc_ValueError)