Commit graph

16 commits

Author SHA1 Message Date
4b2514e5a0 libimagerror: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
95b77d7c92 When generating an error code, we should allow dead code here 2016-09-06 15:31:55 +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
46b3c7c024 Add setter for custom data for error types 2016-07-16 16:51:42 +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
62cd7871a2 Expand error generating to be able to generate modules 2016-05-19 18:22:02 +02:00
2f03077abf Add error generator macro 2016-05-17 00:26:35 +02:00