refactor(error_display): generic display method for error types

this is to better support ariadne in the future
This commit is contained in:
Khaïs COLIN 2025-05-03 18:39:36 +02:00
parent e841a1779e
commit 6910407ad2
4 changed files with 43 additions and 1 deletions

14
notes.org Normal file
View file

@ -0,0 +1,14 @@
#+title: Notes
* show errors with ariadne
:PROPERTIES:
:EFFORT: 10min
:END:
** errors should have a generic show() function
:PROPERTIES:
:EFFORT: 10min
:END:
:LOGBOOK:
CLOCK: [2025-05-03 sam. 18:40]--[2025-05-03 sam. 18:46] => 0:06
:END:
** OSDBError::display() should take a filename and display it alongside the error