Skip to content

Commit

Permalink
feat: introduce NotReadableException
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jan 27, 2024
1 parent f35e632 commit 859cf23
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lib/src/core/exceptions/web_idl.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2024 Contributors to the Eclipse Foundation. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// SPDX-License-Identifier: BSD-3-Clause

import "../exceptions.dart";

/// Indicates that an I/O read operation failed.
///
/// Corresponds with the Web IDL exception type [NotReadableError].
///
/// [NotReadableError]: https://webidl.spec.whatwg.org/#notreadableerror
final class NotReadableException extends DartWotException {
/// Instantiates a new [NotReadableException] with the given [message].
NotReadableException(super.message);
}

0 comments on commit 859cf23

Please sign in to comment.