feat(errors): display basic errors with ariadne

This commit is contained in:
Khaïs COLIN 2025-05-03 21:31:26 +02:00
parent 4246775db5
commit 51569d3ec2
4 changed files with 52 additions and 7 deletions

View file

@ -22,7 +22,14 @@ CLOCK: [2025-05-03 sam. 21:24]--[2025-05-03 sam. 21:28] => 0:04
:LOGBOOK:
CLOCK: [2025-05-03 sam. 21:28]--[2025-05-03 sam. 21:30] => 0:02
:END:
** TODO OSDBError::display() should generate ariadne errors and return those
** DONE OSDBError::display() should generate ariadne errors and return those
:PROPERTIES:
:EFFORT: 10
:END:
:LOGBOOK:
CLOCK: [2025-05-03 sam. 21:30]--[2025-05-03 sam. 21:50] => 0:20
:END:
** TODO error display should include a span to show where the error occured
* DONE snapshot testing
** DONE Find the snapshot testing library
@ -99,3 +106,5 @@ CLOCK: [2025-05-03 sam. 21:21]--[2025-05-03 sam. 21:22] => 0:01
:LOGBOOK:
CLOCK: [2025-05-03 sam. 19:06]--[2025-05-03 sam. 19:07] => 0:01
:END:
* TODO switch statement parsing to more extensible token-based algorithm