call helper generator macros in error module
This commit is contained in:
parent
65911057bf
commit
0a05b9825c
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ generate_custom_error_types!(StoreError, StoreErrorKind, CustomErrorData,
|
||||||
MoveByIdCallError => "Error when calling move_by_id()"
|
MoveByIdCallError => "Error when calling move_by_id()"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
generate_result_helper!(StoreError, StoreErrorKind);
|
||||||
|
generate_option_helper!(StoreError, StoreErrorKind);
|
||||||
|
|
||||||
generate_custom_error_types!(ParserError, ParserErrorKind, CustomErrorData,
|
generate_custom_error_types!(ParserError, ParserErrorKind, CustomErrorData,
|
||||||
TOMLParserErrors => "Several TOML-Parser-Errors",
|
TOMLParserErrors => "Several TOML-Parser-Errors",
|
||||||
MissingMainSection => "Missing main section",
|
MissingMainSection => "Missing main section",
|
||||||
|
|
Loading…
Reference in a new issue