Commit graph

28 commits

Author SHA1 Message Date
bfd8e14d04 Add Result helpers for trace()ing errors 2016-09-05 16:16:06 +02:00
eafd8c1ae5 Add README.md for libimagerror 2016-08-24 14:22:16 +02:00
11dc277c6b Replace unwrap() with map() 2016-08-04 19:13:16 +02:00
9ea1811e21 Replace unwrap() with map() 2016-08-04 19:13:16 +02:00
97fde8cc1b Replace unwrap() with map() 2016-08-04 19:13:15 +02:00
Gavin Thomas Claugus
6578abdf3d libimagerror: Eliminate unused imports
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-28 08:34:50 -04:00
Gavin Thomas Claugus
014a40c9df libimagerror: Deny warnings
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-28 08:34:50 -04:00
4e7a266e1d Merge pull request #542 from matthiasbeyer/libimagerror/trace_exit
Add utility for calling trace_error() and exit()
2016-07-16 23:39:59 +02:00
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
46b3c7c024 Add setter for custom data for error types 2016-07-16 16:51:42 +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
9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +02: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