Searched defs:Error (Results 1 - 25 of 353) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/compiler/
H A Dregress-600593.js10 if (c) { throw new Error(); }
11 throw new Error();
14 function Error() { function
/external/v8/test/mjsunit/regress/
H A Dregress-1980.js34 Error.prototype.toString.call(invalid_this[i]);
37 assertEquals("Error.prototype.toString called on non-object", e.message);
33 Error.prototype.toString.call(invalid_this[i]); class
H A Dregress-1529.js31 Error.prepareStackTrace = function (error, stackTrace) {
H A Dregress-2564.js28 var o = [ function f0() { throw new Error(); },
33 Error.prepareStackTrace = function(error, frames) {
34 Error.prepareStackTrace = undefined; // Prevent recursion.
59 var o = [ function f0() { throw new Error(); },
64 Error.prepareStackTrace = function(error, frames) {
65 Error.prepareStackTrace = undefined; // Prevent recursion.
95 var o = [ function f0() { "use strict"; throw new Error(); },
100 Error.prepareStackTrace = function(error, frames) {
101 Error.prepareStackTrace = undefined; // Prevent recursion.
H A Dregress-596718.js5 Error.prepareStackTrace = function(e, frames) { return frames; }
6 assertThrows(() => new Error().stack[0].getMethodName.call({}), TypeError);
8 Error.prepareStackTrace = function(e, frames) { return frames.map(frame => new Proxy(frame, {})); }
9 assertThrows(() => new Error().stack[0].getMethodName(), TypeError);
11 Error.prepareStackTrace = function(e, frames) { return frames; }
12 assertEquals(null, new Error().stack[0].getMethodName());
H A Dregress-crbug-435825.js5 Error.prepareStackTrace = function (a,b) { return b; };
H A Dregress-crbug-610207.js5 Error.prepareStackTrace = function(exception, frames) {
10 Realm.eval(0, "throw new Error('boom');");
H A Dregress-3718.js8 Error.prepareStackTrace = function(e, stack) { return stack; }
9 var stack = (function() { return new Error().stack; }).call(receiver);
10 Error.prepareStackTrace = undefined;
H A Dregress-crbug-505370.js16 Error.prepareStackTrace = function(exception, frames) { return frames; };
18 Error.prepareStackTrace = undefined;
/external/llvm/bindings/ocaml/bitreader/
H A Dllvm_bitreader.ml10 exception Error of string Exception
12 let () = Callback.register_exception "Llvm_bitreader.Error" (Error "")
H A Dllvm_bitreader.mli15 exception Error of string Exception
19 raises [Error msg] otherwise, where [msg] is a description of the error
25 raises [Error msg] otherwise, where [msg] is a description of the error
/external/llvm/bindings/ocaml/irreader/
H A Dllvm_irreader.ml11 exception Error of string Exception
13 let _ = Callback.register_exception "Llvm_irreader.Error" (Error "")
H A Dllvm_irreader.mli15 exception Error of string Exception
19 raises [Error msg] otherwise, where [msg] is a description of the error
/external/llvm/bindings/ocaml/linker/
H A Dllvm_linker.ml10 exception Error of string Exception
12 let () = Callback.register_exception "Llvm_linker.Error" (Error "")
H A Dllvm_linker.mli15 exception Error of string Exception
17 (** [link_modules' dst src] links [src] into [dst], raising [Error]
/external/v8/test/mjsunit/
H A Dregress-crbug-528379.js7 Error.prepareStackTrace = function(e, frames) { return frames; }
8 assertThrows(function() { new Error().stack[0].getMethodName.call({}); });
H A Dstack-traces-custom-lazy.js39 Error.prepareStackTrace = function(e, frames) {
44 Error.prepareStackTrace = undefined;
47 testPrepareStackTrace(function() { throw new Error("foo"); });
H A Derror-constructors.js28 // Check that message and name are not enumerable on Error objects.
29 var desc = Object.getOwnPropertyDescriptor(Error.prototype, 'name');
31 desc = Object.getOwnPropertyDescriptor(Error.prototype, 'message');
34 var e = new Error("foobar");
40 var e = new Error();
94 MyError.prototype = new Error;
95 var errors = [Error, RangeError, EvalError, URIError,
105 Error.prototype.toString = Object.prototype.toString;
106 assertEquals("[object Object]", Error.prototype.toString());
107 assertEquals(Object.prototype, Error
102 Error.prototype.toString = Object.prototype.toString; class
[all...]
H A Deval-stack-trace.js28 // Return the stack frames of an Error object.
30 Error.prepareStackTrace = function(error, frames) {
34 Error.prototype.getFrames = function() {
82 " throw new Error(3); \n" + // Line 2
187 " throw new Error(3); \n" +
32 Error.prototype.getFrames = function() { class
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/closure/debug/
H A Derror.js16 * @fileoverview Provides a base class for custom Error objects such that the
19 * You should never need to throw goog.debug.Error(msg) directly, Error(msg) is
24 goog.provide('goog.debug.Error');
32 * @extends {Error}
34 goog.debug.Error = function(opt_msg) {
37 this.stack = new Error().stack || '';
43 goog.inherits(goog.debug.Error, Error);
47 goog.debug.Error
[all...]
/external/autotest/client/site_tests/hardware_TLBMissCost/
H A Dperf_measurement.py9 class Error(Exception): class in inherits:Exception
38 raise Error('Unable to parse perf stat output')
44 raise Error('These events are not supported: %s'
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/
H A Derror.py17 """Error object commonly used in linters."""
23 class Error(object): class in inherits:object
/external/clang/test/CodeGenCXX/
H A Dthrow-expression-cleanup.cpp7 struct Error { struct
8 Error(const X&) noexcept;
13 throw Error(X());
/external/v8/test/mjsunit/wasm/
H A Dtrap-location.js11 Error.prepareStackTrace = function(error, frames) {
/external/valgrind/include/
H A Dpub_tool_errormgr.h37 /* Error records contain enough info to generate an error report. The idea
47 /* The tool-relevant parts of an Error are:
55 Error; typedef in typeref:struct:_Error
59 ExeContext* VG_(get_error_where) ( const Error* err );
60 ErrorKind VG_(get_error_kind) ( const Error* err );
61 Addr VG_(get_error_address) ( const Error* err );
62 const HChar* VG_(get_error_string) ( const Error* err );
63 void* VG_(get_error_extra) ( const Error* err );

Completed in 503 milliseconds

1234567891011>>