mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 00:28:01 +00:00
Migrate election-phragmen, election contracts and authorship to decl_error (#4479)
* Migrate election-phragmen * Migrate elections * Migrate contracts module * Update authorship module * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
committed by
Gavin Wood
parent
9051945505
commit
2403cf320c
@@ -321,7 +321,7 @@ impl<AccountId> Into<PermissionVersions<AccountId>> for PermissionLatest<Account
|
||||
}
|
||||
|
||||
decl_error! {
|
||||
/// Error for the identity module.
|
||||
/// Error for the generic-asset module.
|
||||
pub enum Error for Module<T: Trait> {
|
||||
/// No new assets id available.
|
||||
NoIdAvailable,
|
||||
|
||||
Reference in New Issue
Block a user