Home
last modified time | relevance | path

Searched defs:CustomError (Results 1 – 25 of 25) sorted by relevance

/external/rust/crates/nom/tests/
Dcustom_errors.rs13 pub struct CustomError(String); struct
15 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation
21 impl<'a> ParseError<&'a str> for CustomError { implementation
31 fn test1(input: &str) -> IResult<&str, &str, CustomError> { in test1() argument
36 fn test2(input: &str) -> IResult<&str, &str, CustomError> { in test2() argument
41 fn test3(input: &str) -> IResult<&str, &str, CustomError> { in test3() argument
46 fn test4(input: &str) -> IResult<&str, Vec<&str>, CustomError> { in test4() argument
/external/rust/crates/toml_edit/src/parser/
Derror.rs7 pub(crate) enum CustomError { enum
21 impl CustomError { implementation
54 impl StdError for CustomError { implementation
60 impl Display for CustomError { implementation
Dstate.rs17 pub(crate) fn into_document(mut self) -> Result<Document, CustomError> { in into_document() argument
44 ) -> Result<(), CustomError> { in on_keyval() argument
97 ) -> Result<(), CustomError> { in start_array_table() argument
130 ) -> Result<(), CustomError> { in start_table() argument
162 pub(crate) fn finalize_table(&mut self) -> Result<(), CustomError> { in finalize_table() argument
219 ) -> Result<&'t mut Table, CustomError> { in descend_path() argument
263 ) -> Result<(), CustomError> { in on_std_header() argument
286 ) -> Result<(), CustomError> { in on_array_header() argument
Dinline_table.rs39 ) -> Result<InlineTable, CustomError> { in table_from_pairs() argument
76 ) -> Result<&'a mut InlineTable, CustomError> { in descend_path() argument
Dmod.rs98 pub(crate) fn check_depth(depth: usize) -> Result<(), super::error::CustomError> { in check_depth()
129 pub(crate) fn check_depth(_depth: usize) -> Result<(), super::error::CustomError> { in check_depth()
/external/rust/crates/mls-rs/examples/
Dcustom.rs292 fn new(name: &str, role: UserRole) -> Result<Self, CustomError> { in new() argument
314 fn new(name: &str, user: &User) -> Result<Self, CustomError> { in new() argument
345 fn make_client(member: Member) -> Result<Client<impl MlsConfig>, CustomError> { in make_client() argument
418 struct CustomError; struct
420 impl IntoAnyError for CustomError { implementation
426 impl Display for CustomError { implementation
432 impl From<MlsError> for CustomError { implementation
438 impl From<mls_rs_codec::Error> for CustomError { implementation
444 impl From<ExtensionError> for CustomError { implementation
/external/tensorflow/tensorflow/python/autograph/pyct/
Derror_utils_test.py28 class CustomError(Exception): class
43 class CustomError(Exception): class
/external/rust/crates/winnow/examples/
Dcustom_error.rs7 pub enum CustomError<I> { enum
12 impl<I: Clone> ParserError<I> for CustomError<I> { implementation
/external/rust/crates/nom/src/combinator/
Dtests.rs93 impl From<u32> for CustomError { implementation
99 impl<I> ParseError<I> for CustomError { implementation
109 struct CustomError; struct
111 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/
DCustomError.java3 public class CustomError extends Error { class
/external/llvm/unittests/Support/
DErrorTest.cpp23 class CustomError : public ErrorInfo<CustomError> { class
26 CustomError(int Info) : Info(Info) {} in CustomError() function in __anon2671df980111::CustomError
48 CustomError() : Info(0) {} in CustomError() function in __anon2671df980111::CustomError
/external/rust/crates/rusqlite/src/
Dlib.rs1794 enum CustomError { enum
1799 impl fmt::Display for CustomError { implementation
1808 impl StdError for CustomError { implementation
1821 impl From<Error> for CustomError { implementation
1822 fn from(se: Error) -> CustomError { in from()
/external/rust/crates/winnow/src/combinator/
Dtests.rs87 impl From<u32> for CustomError { implementation
93 impl<I> ParserError<I> for CustomError { implementation
103 struct CustomError; struct
105 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/external/rust/crates/pest/src/
Derror.rs53 CustomError { enumerator
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py52 class CustomError(Exception): class
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py543 class CustomError(_messages.Message): class
/external/python/cpython3/Lib/test/
Dtest_dataclasses.py26 class CustomError(Exception): pass class
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Dservicenetworking.v1beta.json802 "CustomError": { object
Dserviceusage.v1.json864 "CustomError": { object
Dserviceconsumermanagement.v1beta1.json814 "CustomError": { object
Dserviceconsumermanagement.v1.json933 "CustomError": { object
Dserviceusage.v1beta1.json1455 "CustomError": { object
Dservicemanagement.v1.json1345 "CustomError": { object
Dservicenetworking.v1.json1455 "CustomError": { object
/external/python/apitools/samples/servicemanagement_sample/
Dservicemanagement_v1.json1267 "CustomError": { object