refactor(errors): adopt reportable error terminology
This commit is contained in:
1 parent
21e9497915
commit
9fec2fa095
92 files changed
+270
-269
No files matched your search
@@ -0,0 +1,13 @@
|
||||
extern crate self as kaptan_err_reportable;
|
||||
|
||||
use kaptan_err_reportable_macros::KaptanError;
|
||||
|
||||
#[derive(Debug, KaptanError)]
|
||||
enum DuplicateId {
|
||||
#[kaptan_error(id = 42)]
|
||||
First,
|
||||
#[kaptan_error(id = 42)]
|
||||
Second,
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in new issue
Block a user