Skip to content

Remove error type re-exports #2196

@PhilippGackstatter

Description

@PhilippGackstatter

PR #2191 made the errors module public and as a follow-up we should remove the public re-exports:

pub use errors::{
AccountDeltaError,
AccountError,
AccountIdError,
AccountTreeError,
AddressError,
AssetError,
AssetVaultError,
AuthSchemeError,
BatchAccountUpdateError,
FeeError,
NetworkIdError,
NoteError,
NullifierTreeError,
PartialAssetVaultError,
PartialBlockchainError,
ProposedBatchError,
ProposedBlockError,
ProvenBatchError,
ProvenTransactionError,
StorageMapError,
StorageSlotNameError,
TokenSymbolError,
TransactionInputError,
TransactionOutputError,
TransactionScriptError,
};

This mostly requires fixing the error type imports in other places, which should be straightforward to do.

This can be done after #2191 is merged.

Context: #2191 (comment)

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersrustIssues that affect or pull requests that update Rust code

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions