mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 17:28:00 +00:00
expose module errors into metadata (#3752)
* expose module errors into metadata * it checks * Tests for error metadata * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * remove inherent errors from metadata * bump version * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update srml/support/src/error.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
committed by
Bastian Köcher
parent
38a61861b1
commit
2c77262c8f
@@ -29,7 +29,10 @@ support::decl_event!(
|
||||
|
||||
support::decl_error! {
|
||||
pub enum Error {
|
||||
/// Test error documentation
|
||||
TestError,
|
||||
/// Error documentation
|
||||
/// with multiple lines
|
||||
AnotherError
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user