-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polish radixString operations with exceptions
- Loading branch information
1 parent
75e7a1d
commit d0fd13d
Showing
5 changed files
with
89 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
// SPDX-License-Identifier: BSD-3-Clause | ||
// | ||
// logic_value_construction_exception.dart | ||
// An exception that thrown when a signal failes to `put`. | ||
// An exception that is thrown when a signal fails to `put`. | ||
// | ||
// 2023 May 1 | ||
// Author: Max Korbel <[email protected]> | ||
|
19 changes: 19 additions & 0 deletions
19
lib/src/exceptions/logic_value/logic_value_conversion_exception.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (C) 2023 Intel Corporation | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// | ||
// logic_value_conversion_exception.dart | ||
// An exception that is thrown when a conversion from a [LogicValue] fails | ||
// (such as to a [String]). | ||
// | ||
// 2024 December 26 | ||
// Author: Desmond Kirkpatrick <[email protected]> | ||
|
||
import 'package:rohd/rohd.dart'; | ||
|
||
/// An exception that is thrown when a [LogicValue] cannot be | ||
/// properly converted. | ||
class LogicValueConversionException extends RohdException { | ||
/// Creates an exception for when conversion of a `LogicValue` fails. | ||
LogicValueConversionException(String message) | ||
: super('Failed to convert `LogicValue`: $message'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters