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:
Stanislav TkachandBastian Köcher authored and Gavin Wood committed 2019-12-24 11:11:57 +01:00
1 parent 9051945505
commit 2403cf320c
6 files changed
+255 -117

No files matched your search

+1 -1
View File
@@ -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,