lhmcgann / EStimLibrary

A C# library to facilitate electrical stimulation research and development.
MIT License
1 stars 0 forks source link

Define error codes #18

Open lhmcgann opened 1 month ago

lhmcgann commented 1 month ago

I.e., a code for each error that may be thrown that can be included in the error output so users can better identify the source of the error

Consider how to incorporate library structure - i.e., where in the source code the file may come from - and the type of error - e.g., invalid arg data type, invalid HW config for whatever reason, ID not found, ID pool or RMgr maxed out, etc.

May choose to use the Error.cs - expanding it in some form - in lieu of or in addition to the dictionary idea described above ^, or may delete this class altogether