GitHub Issue #10 - add error handling system