Skip to content
Snippets Groups Projects
Commit 8370b997 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Expose `Error` in metadata for `pallet-utility` (#4721)

parent 597c0a6c
No related merge requests found
...@@ -318,6 +318,8 @@ impl TypeId for IndexedUtilityModuleId { ...@@ -318,6 +318,8 @@ impl TypeId for IndexedUtilityModuleId {
decl_module! { decl_module! {
pub struct Module<T: Trait> for enum Call where origin: T::Origin { pub struct Module<T: Trait> for enum Call where origin: T::Origin {
type Error = Error<T>;
/// Deposit one of this module's events by using the default implementation. /// Deposit one of this module's events by using the default implementation.
fn deposit_event() = default; fn deposit_event() = default;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment