Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: sdk/lib/async/async_error.dart

Issue 11820024: Enable "part of" for the async library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/vm.gypi ('k') | sdk/lib/async/async_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // part of dart.async; 5 part of dart.async;
6 6
7 /** 7 /**
8 * Error result of an asynchronous computation. 8 * Error result of an asynchronous computation.
9 */ 9 */
10 class AsyncError { 10 class AsyncError {
11 /** The actual error thrown by the computation. */ 11 /** The actual error thrown by the computation. */
12 final Object error; 12 final Object error;
13 /** Stack trace corresponding to the error, if available. */ 13 /** Stack trace corresponding to the error, if available. */
14 final Object stackTrace; 14 final Object stackTrace;
15 /** Asynchronous error leading to this error, if error handling fails. */ 15 /** Asynchronous error leading to this error, if error handling fails. */
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // directly so that we can pass the stack trace. 65 // directly so that we can pass the stack trace.
66 throw error; 66 throw error;
67 }); 67 });
68 } catch (e) { 68 } catch (e) {
69 // Unfortunately there is not much more we can do... 69 // Unfortunately there is not much more we can do...
70 reportError(); 70 reportError();
71 } 71 }
72 } 72 }
73 } 73 }
74 74
OLDNEW
« no previous file with comments | « runtime/vm/vm.gypi ('k') | sdk/lib/async/async_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698