EPFLRocketTeam / EPFLRocketTeam/ERTbot

Add error and exception handling

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently there no real mechanic for handling errors and exceptions. Need to add errorState linked list struct and helper functions which should allow for added reliability and better error messages for users.

- [x] Define an ErrorState struct
- [x] implement helper functions
- [x] addError
- [x] retrieve head of error list
- [x] retrieve latest error
- [x] remove last error from list
- [ ] send error message to Slack
- [x] clear error list
- [ ] Update all functions to throw errors using new mechanic
- [ ] Define which function(s) catches errors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.