refactor error handling in lib.rs

remove all unwraps

GanttStart: 2024-04-15 GanttDue: 2024-04-30

issue is closed a week before (2024-04-24) nice job!

Edited by Александра