[dart:io] Making OSError implements Exception

Bug: https://github.com/dart-lang/sdk/issues/40934
Change-Id: Icff457333bd570d81cdf9c3136ee4fe1cadfaae8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139406
Reviewed-by: Zach Anderson <zra@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Zichang Guo <zichangguo@google.com>
This commit is contained in:
Zichang Guo 2020-03-24 22:43:57 +00:00 committed by commit-bot@chromium.org
parent 8c4909aa8f
commit ae392b8e00
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ abstract class IOException implements Exception {
* operating system.
*/
@pragma("vm:entry-point")
class OSError {
class OSError implements Exception {
/** Constant used to indicate that no OS error code is available. */
static const int noErrorCode = -1;

View file

@ -50,7 +50,7 @@ abstract class IOException implements Exception {
* operating system.
*/
@pragma("vm:entry-point")
class OSError {
class OSError implements Exception {
/** Constant used to indicate that no OS error code is available. */
static const int noErrorCode = -1;