You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now scopehal doesn't have a consistent paradigm for distinguishing returned data from an error condition. Even worse, sometimes functions which can error are typed to return void.
We should figure out some kind of consistent error-reporting scheme, whether that be with exceptions (and there are issues here w.r.t cross library reporting), always returning an error code and passing state by reference, a combination of the two, or some alternative.
The text was updated successfully, but these errors were encountered:
Right now scopehal doesn't have a consistent paradigm for distinguishing returned data from an error condition. Even worse, sometimes functions which can error are typed to return void.
We should figure out some kind of consistent error-reporting scheme, whether that be with exceptions (and there are issues here w.r.t cross library reporting), always returning an error code and passing state by reference, a combination of the two, or some alternative.
The text was updated successfully, but these errors were encountered: