Home
last modified time | relevance | path

Searched refs:Error (Results 1 - 25 of 2176) sorted by relevance

12345678910>>...88

/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dstatus.cc9 // Status and Error codes
14 case Error::OK: in Message()
16 case Error::JSON_PARSER_UNPROCESSED_INPUT_REMAINS: in Message()
18 case Error::JSON_PARSER_STACK_LIMIT_EXCEEDED: in Message()
20 case Error::JSON_PARSER_NO_INPUT: in Message()
22 case Error::JSON_PARSER_INVALID_TOKEN: in Message()
24 case Error::JSON_PARSER_INVALID_NUMBER: in Message()
26 case Error::JSON_PARSER_INVALID_STRING: in Message()
28 case Error::JSON_PARSER_UNEXPECTED_ARRAY_END: in Message()
30 case Error in Message()
[all...]
/third_party/rust/crates/serde/serde/src/ser/
H A Dimpossible.rs20 /// # use serde::__private::doc::Error;
26 /// type Error = Error;
28 /// type SerializeSeq = Impossible<(), Error>;
34 /// -> Result<Self::SerializeSeq, Error> {
60 pub struct Impossible<Ok, Error> {
63 error: PhantomData<Error>,
68 impl<Ok, Error> SerializeSeq for Impossible<Ok, Error>
70 Error
73 type Error = Error; global() types
93 type Error = Error; global() types
113 type Error = Error; global() types
133 type Error = Error; global() types
153 type Error = Error; global() types
181 type Error = Error; global() types
202 type Error = Error; global() types
[all...]
H A Dmod.rs120 pub use crate::std_error::Error as StdError;
123 pub use core::error::Error as StdError;
126 pub use std::error::Error as StdError;
131 (Error: Sized $(+ $($supertrait:ident)::+)*) => {
142 pub trait Error: Sized $(+ $($supertrait)::+)* { traits
164 /// fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
170 /// None => Err(ser::Error::custom("path contains invalid UTF-8 characters")),
186 declare_error_trait!(Error: Sized + StdError);
189 declare_error_trait!(Error: Sized + Debug + Display);
235 /// fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
345 type Error: Error; global() types
1493 type Error: Error; global() types
1593 type Error: Error; global() types
1638 type Error: Error; global() types
1696 type Error: Error; global() types
1762 type Error: Error; global() types
1856 type Error: Error; global() types
1922 type Error: Error; global() types
[all...]
H A Dfmt.rs2 use crate::ser::{Error, Impossible, Serialize, Serializer};
4 impl Error for fmt::Error {
6 fmt::Error in custom()
40 type Error = fmt::Error; types
41 type SerializeSeq = Impossible<(), fmt::Error>;
42 type SerializeTuple = Impossible<(), fmt::Error>;
43 type SerializeTupleStruct = Impossible<(), fmt::Error>;
44 type SerializeTupleVariant = Impossible<(), fmt::Error>;
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DErrors.h27 static Napi::Error HierarchyRequestError(Napi::Env);
28 static Napi::Error WrongDocumentError(Napi::Env);
29 static Napi::Error InvalidCharacterError(Napi::Env);
30 static Napi::Error NoModificationAllowedError(Napi::Env);
31 static Napi::Error NotFoundError(Napi::Env);
32 static Napi::Error NotSupportedError(Napi::Env);
33 static Napi::Error InUseAttributeError(Napi::Env);
34 static Napi::Error InvalidStateError(Napi::Env);
35 static Napi::Error SyntaxError(Napi::Env);
36 static Napi::Error InvalidModificationErro
[all...]
H A DErrors.cpp50 static Napi::Error New(Napi::Env env, in New()
54 auto err = Napi::Error::New(env);
63 Napi::Error Errors::HierarchyRequestError(Napi::Env env) { in HierarchyRequestError()
67 Napi::Error Errors::WrongDocumentError(Napi::Env env) { in WrongDocumentError()
71 Napi::Error Errors::InvalidCharacterError(Napi::Env env) { in InvalidCharacterError()
75 Napi::Error Errors::NoModificationAllowedError(Napi::Env env) { in NoModificationAllowedError()
79 Napi::Error Errors::NotFoundError(Napi::Env env) { in NotFoundError()
83 Napi::Error Errors::NotSupportedError(Napi::Env env) { in NotSupportedError()
87 Napi::Error Errors::InUseAttributeError(Napi::Env env) { in InUseAttributeError()
91 Napi::Error Error
[all...]
/third_party/rust/crates/regex/regex-syntax/src/
H A Derror.rs10 pub type Result<T> = result::Result<T, Error>;
14 pub enum Error { enum
17 Parse(ast::Error),
20 Translate(hir::Error),
30 impl From<ast::Error> for Error {
31 fn from(err: ast::Error) -> Error { in from()
32 Error::Parse(err) in from()
36 impl From<hir::Error> fo
[all...]
/third_party/rust/crates/log/src/kv/
H A Derror.rs5 pub struct Error { structure names
14 Value(value_bag::Error),
18 impl Error { impls
21 Error { in msg()
27 pub(super) fn from_value(err: value_bag::Error) -> Self {
28 Error {
34 pub(super) fn into_value(self) -> value_bag::Error {
38 _ => value_bag::Error::boxed(self),
40 _ => value_bag::Error::msg("error inspecting a value"),
45 impl fmt::Display for Error {
71 impl Error { global() impls
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
H A DBlockIndexer.cpp18 Error BlockIndexer::visit(BufferExtents &) { return Error::success(); } in visit()
20 Error BlockIndexer::visit(WallclockRecord &R) { in visit()
23 return Error::success(); in visit()
26 Error BlockIndexer::visit(NewCPUIDRecord &R) { in visit()
28 return Error::success(); in visit()
31 Error BlockIndexer::visit(TSCWrapRecord &R) { in visit()
33 return Error::success(); in visit()
36 Error BlockIndexer::visit(CustomEventRecord &R) { in visit()
38 return Error in visit()
[all...]
H A DFDRTraceExpander.cpp21 Error TraceExpander::visit(BufferExtents &) { in visit()
23 return Error::success(); in visit()
26 Error TraceExpander::visit(WallclockRecord &) { return Error::success(); } in visit()
28 Error TraceExpander::visit(NewCPUIDRecord &R) { in visit()
31 return Error::success(); in visit()
34 Error TraceExpander::visit(TSCWrapRecord &R) { in visit()
36 return Error::success(); in visit()
39 Error TraceExpander::visit(CustomEventRecord &R) { in visit()
50 return Error in visit()
[all...]
H A DRecordPrinter.cpp15 Error RecordPrinter::visit(BufferExtents &R) { in visit()
17 return Error::success(); in visit()
20 Error RecordPrinter::visit(WallclockRecord &R) { in visit()
23 return Error::success(); in visit()
26 Error RecordPrinter::visit(NewCPUIDRecord &R) { in visit()
28 return Error::success(); in visit()
31 Error RecordPrinter::visit(TSCWrapRecord &R) { in visit()
33 return Error::success(); in visit()
36 Error RecordPrinter::visit(CustomEventRecord &R) { in visit()
41 return Error in visit()
[all...]
/third_party/rust/crates/serde/serde/src/de/
H A Dmod.rs130 pub use crate::std_error::Error as StdError;
133 pub use core::error::Error as StdError;
136 pub use std::error::Error as StdError;
141 (Error: Sized $(+ $($supertrait:ident)::+)*) => {
142 /// The `Error` trait allows `Deserialize` implementations to create descriptive
146 /// Every `Deserializer` declares an `Error` type that encompasses both
148 /// particular deserialization format. For example the `Error` type of
153 /// Most deserializers should only need to provide the `Error::custom` method
162 pub trait Error: Sized $(+ $($supertrait)::+)* { traits
183 /// fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
911 type Error: Error; global() types
1707 type Error: Error; global() types
1742 type Error = A::Error; global() types
1789 type Error: Error; global() types
1895 type Error = A::Error; global() types
1981 type Error: Error; global() types
2028 type Error: Error; global() types
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp37 Error visitTypeBegin(CVType &Record) override;
38 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
39 Error visitTypeEnd(CVType &Record) override;
42 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
49 Error TypeNameComputer::visitTypeBegin(CVType &Record) { in visitTypeBegin()
51 return Error::success(); in visitTypeBegin()
54 Error TypeNameComputer::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
58 return Error::success(); in visitTypeBegin()
61 Error TypeNameComputer::visitTypeEnd(CVType &CVR) { return Error
[all...]
H A DSymbolDumper.cpp20 #include "llvm/Support/Error.h"
40 Error visitKnownRecord(CVSymbol &CVR, Name &Record) override;
44 Error visitSymbolBegin(CVSymbol &Record) override;
45 Error visitSymbolEnd(CVSymbol &Record) override;
46 Error visitUnknownSymbol(CVSymbol &Record) override;
103 Error CVSymbolDumperImpl::visitSymbolBegin(CVSymbol &CVR) { in visitSymbolBegin()
108 return Error::success(); in visitSymbolBegin()
111 Error CVSymbolDumperImpl::visitSymbolEnd(CVSymbol &CVR) { in visitSymbolEnd()
117 return Error::success(); in visitSymbolEnd()
120 Error CVSymbolDumperImp
[all...]
H A DSymbolRecordMapping.cpp20 Error operator()(CodeViewRecordIO &IO, LocalVariableAddrGap &Gap) const { in operator ()()
23 return Error::success(); in operator ()()
28 static Error mapLocalVariableAddrRange(CodeViewRecordIO &IO, in mapLocalVariableAddrRange()
33 return Error::success(); in mapLocalVariableAddrRange()
36 Error SymbolRecordMapping::visitSymbolBegin(CVSymbol &Record) { in visitSymbolBegin()
38 return Error::success(); in visitSymbolBegin()
41 Error SymbolRecordMapping::visitSymbolEnd(CVSymbol &Record) { in visitSymbolEnd()
44 return Error::success(); in visitSymbolEnd()
47 Error SymbolRecordMapping::visitKnownRecord(CVSymbol &CVR, BlockSym &Block) { in visitKnownRecord()
56 return Error in visitKnownRecord()
[all...]
H A DTypeDumpVisitor.cpp169 Error TypeDumpVisitor::visitTypeBegin(CVType &Record) { in visitTypeBegin()
173 Error TypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
180 return Error::success(); in visitTypeBegin()
183 Error TypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
189 return Error::success(); in visitTypeEnd()
192 Error TypeDumpVisitor::visitMemberBegin(CVMemberRecord &Record) { in visitMemberBegin()
198 return Error::success(); in visitMemberBegin()
201 Error TypeDumpVisitor::visitMemberEnd(CVMemberRecord &Record) { in visitMemberEnd()
207 return Error::success(); in visitMemberEnd()
210 Error TypeDumpVisito
[all...]
H A DTypeRecordMapping.cpp122 Error operator()(CodeViewRecordIO &IO, OneMethodRecord &Method) const { in operator ()()
139 return Error::success(); in operator ()()
147 static Error mapNameAndUniqueName(CodeViewRecordIO &IO, StringRef &Name, in mapNameAndUniqueName()
184 return Error::success(); in mapNameAndUniqueName()
187 Error TypeRecordMapping::visitTypeBegin(CVType &CVR) { in visitTypeBegin()
209 return Error::success(); in visitTypeBegin()
212 Error TypeRecordMapping::visitTypeBegin(CVType &CVR, TypeIndex Index) { in visitTypeBegin()
219 Error TypeRecordMapping::visitTypeEnd(CVType &Record) { in visitTypeEnd()
226 return Error::success(); in visitTypeEnd()
229 Error TypeRecordMappin
[all...]
H A DCVTypeVisitor.cpp24 static Error visitKnownRecord(CVType &Record, TypeVisitorCallbacks &Callbacks) { in visitKnownRecord()
29 return Error::success(); in visitKnownRecord()
33 static Error visitKnownMember(CVMemberRecord &Record, in visitKnownMember()
39 return Error::success(); in visitKnownMember()
42 static Error visitMemberRecord(CVMemberRecord &Record, in visitMemberRecord()
68 return Error::success(); in visitMemberRecord()
77 Error visitTypeRecord(CVType &Record, TypeIndex Index);
78 Error visitTypeRecord(CVType &Record);
81 Error visitTypeStream(const CVTypeArray &Types);
82 Error visitTypeStrea
[all...]
/third_party/rust/crates/nom/src/bytes/
H A Dcomplete.rs18 /// It will return `Err(Err::Error((_, ErrorKind::Tag)))` if the input doesn't match the pattern
21 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
29 /// assert_eq!(parser("Something"), Err(Err::Error(Error::new("Something", ErrorKind::Tag))));
30 /// assert_eq!(parser(""), Err(Err::Error(Error::new("", ErrorKind::Tag))));
32 pub fn tag<T, Input, Error: ParseError<Input>>( in tag()
34 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag()
42 let res: IResult<_, _, Error> = match i.compare(t) { in tag()
46 Err(Err::Error(Erro in tag()
[all...]
H A Dstreaming.rs19 /// # use nom::{Err, error::{Error, ErrorKind}, Needed, IResult};
27 /// assert_eq!(parser("Something"), Err(Err::Error(Error::new("Something", ErrorKind::Tag))));
28 /// assert_eq!(parser("S"), Err(Err::Error(Error::new("S", ErrorKind::Tag))));
31 pub fn tag<T, Input, Error: ParseError<Input>>( in tag()
33 ) -> impl Fn(Input) -> IResult<Input, Input, Error> in tag()
42 let res: IResult<_, _, Error> = match i.compare(t) { in tag()
45 CompareResult::Error => { in tag()
47 Err(Err::Error(Erro in tag()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeVisitorCallbacks.h13 #include "llvm/Support/Error.h"
23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType()
31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin()
32 virtual Error visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
33 return Error::success(); in visitTypeBegin()
35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd()
37 virtual Error visitUnknownMembe
[all...]
/third_party/node/test/parallel/
H A Dtest-error-serdes.js23 let err = new Error('foo');
25 assert(err instanceof Error);
26 assert(Object.prototype.toString.call(err), '[object Error]');
27 assert.strictEqual(err.name, 'Error');
29 assert.match(err.stack, /^Error: foo\n/);
43 class SubError extends Error {}
45 assert.strictEqual(cycle(new SubError('foo')).name, 'Error');
50 class ErrorWithCause extends Error {
52 return new Error('err');
55 class ErrorWithThowingCause extends Error {
[all...]
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
H A Dparser_depth_test.cc50 ASSERT_TRUE(r.IsSuccess()) << r.Error(); in TEST_F()
93 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
94 EXPECT_EQ("17: invalid value for TEST", r.Error()); in TEST_F()
120 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
121 EXPECT_EQ("16: invalid value for TEST: foo", r.Error()); in TEST_F()
147 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
148 EXPECT_EQ("18: invalid value for WRITE", r.Error()); in TEST_F()
174 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
175 EXPECT_EQ("17: invalid value for WRITE: foo", r.Error()); in TEST_F()
201 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
[all...]
H A Dparser_stencil_test.cc62 ASSERT_TRUE(r.IsSuccess()) << r.Error(); in TEST_F()
117 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
118 EXPECT_EQ("16: STENCIL missing face", r.Error()); in TEST_F()
143 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
144 EXPECT_EQ("15: STENCIL invalid face: foo", r.Error()); in TEST_F()
169 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
170 EXPECT_EQ("17: STENCIL invalid value for TEST", r.Error()); in TEST_F()
195 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
196 EXPECT_EQ("16: STENCIL invalid value for TEST: foo", r.Error()); in TEST_F()
222 ASSERT_FALSE(r.IsSuccess()) << r.Error(); in TEST_F()
[all...]
/third_party/node/lib/internal/
H A Derrors.js26 Error,
84 const MainContextError = Error;
107 // `userStackTraceLimit` is the user value for `Error.stackTraceLimit`,
119 // Error: Message
135 // Polyfill of V8's Error.prepareStackTrace API.
139 if (typeof globalThis.Error?.prepareStackTrace === 'function') {
140 return globalThis.Error.prepareStackTrace(error, trace);
142 // We still have legacy usage that depends on the main context's `Error`
206 // Do no touch Error.stackTraceLimit as V8 would attempt to install
212 const desc = ObjectGetOwnPropertyDescriptor(Error, 'stackTraceLimi
[all...]

Completed in 11 milliseconds

12345678910>>...88