Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

construct_runtime macro needs to generate runtime Error type #4040

@xlc

Description

@xlc

It needs to generate runtime Error type similar to how it generate runtime Event type so different module error can all Into<T::Error> where type Error: From<Error> + From<system::Error> + any_other_used_module::Error

Otherwise decl_error is much less useful

Follow up of #2880 #3433

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions