Commit graph

18 commits

Author SHA1 Message Date
df6ea4cc8c Make trace_error_exit() diverging 2016-07-16 21:57:29 +02:00
ea6daaa0f4 Adding debug information in trace_error_exit() 2016-07-16 21:57:29 +02:00
f1e7b40cc5 Add utility for calling trace_error() and exit() 2016-07-15 21:34:45 +02:00
John Sirois
5369dfa119 Remove unused into::IntoError import. 2016-07-14 20:08:42 -06:00
7ffd28b592 Add tests for Option::ok_or_errkind() extension function 2016-06-27 15:12:24 +02:00
5c8dbac34d Add test for error kind mapping 2016-06-27 15:12:24 +02:00
320c1e4bd8 Add Option helper 2016-06-27 15:12:17 +02:00
0d9d96fa6c Add result helper 2016-06-27 15:12:08 +02:00
b1f43e3ef5 Impl Into<error name> for all <errorkindname> 2016-05-24 14:31:44 +02:00
b117d7fb9f Add tests for error types with custom functions and types 2016-05-23 17:06:07 +02:00
603b4de593 Add macro to generate error types with custom fields and functions 2016-05-23 17:06:06 +02:00
972d313ed5 Import IntoError trait 2016-05-20 17:34:10 +02:00
3845f28dad Implement IntoError for all generated Errors automatically 2016-05-20 17:34:10 +02:00
8e0014d507 Add IntoError trait to convert Error kinds into Error instances 2016-05-20 17:34:10 +02:00
62cd7871a2 Expand error generating to be able to generate modules 2016-05-19 18:22:02 +02:00
1c723a9a0e Move trace_error() functionality from libimagutil to libimagerror 2016-05-17 20:28:02 +02:00
2f03077abf Add error generator macro 2016-05-17 00:26:35 +02:00
cb855ae335 Initial import 2016-05-17 00:26:35 +02:00