From 0a05b9825c8bb7e412aa887298fb876a4b452791 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 27 Jun 2016 17:59:46 +0200 Subject: [PATCH] call helper generator macros in error module --- libimagstore/src/error.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libimagstore/src/error.rs b/libimagstore/src/error.rs index 741704cc..a3fb7d5c 100644 --- a/libimagstore/src/error.rs +++ b/libimagstore/src/error.rs @@ -47,6 +47,9 @@ generate_custom_error_types!(StoreError, StoreErrorKind, CustomErrorData, MoveByIdCallError => "Error when calling move_by_id()" ); +generate_result_helper!(StoreError, StoreErrorKind); +generate_option_helper!(StoreError, StoreErrorKind); + generate_custom_error_types!(ParserError, ParserErrorKind, CustomErrorData, TOMLParserErrors => "Several TOML-Parser-Errors", MissingMainSection => "Missing main section",