forked from CDDelta/arweave-dart
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
194 additions
and
39 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
abstract class DataItemError implements Exception {} | ||
abstract class StreamTransactionError implements Exception {} | ||
|
||
class DataItemCreationError extends DataItemError {} | ||
class DataItemCreationError extends StreamTransactionError {} | ||
|
||
class InvalidTargetSizeError extends DataItemError {} | ||
class InvalidTargetSizeError extends StreamTransactionError {} | ||
|
||
class InvalidAnchorSizeError extends DataItemError {} | ||
class InvalidAnchorSizeError extends StreamTransactionError {} | ||
|
||
class DeepHashStreamError extends DataItemError {} | ||
class DeepHashStreamError extends StreamTransactionError {} | ||
|
||
class SignatureError extends DataItemError {} | ||
class SignatureError extends StreamTransactionError {} | ||
|
||
class GetWalletOwnerError extends DataItemError {} | ||
class GetWalletOwnerError extends StreamTransactionError {} | ||
|
||
class ProcessedDataItemHeadersError extends DataItemError {} | ||
class ProcessedDataItemHeadersError extends StreamTransactionError {} | ||
|
||
class DecodeBase64ToBytesError extends DataItemError {} | ||
class DecodeBase64ToBytesError extends StreamTransactionError {} | ||
|
||
class SerializeTagsError extends DataItemError {} | ||
class SerializeTagsError extends StreamTransactionError {} | ||
|
||
abstract class TransactionError implements Exception {} | ||
class GenerateTransactionChunksError extends StreamTransactionError {} | ||
|
||
class GenerateTransactionChunksError extends TransactionError {} | ||
class PrepareChunksError extends StreamTransactionError {} | ||
|
||
class PrepareChunksError extends TransactionError {} | ||
class TransactionDeepHashError extends StreamTransactionError {} | ||
|
||
class TransactionDeepHashError extends TransactionError {} | ||
class TransactionSignatureError extends StreamTransactionError {} | ||
|
||
class TransactionSignatureError extends TransactionError {} | ||
|
||
class TransactionGetOwnerError extends TransactionError {} | ||
class TransactionGetOwnerError extends StreamTransactionError {} |
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