Closed Mathman2028 closed 5 months ago
you should probably implement proper error handling for malformed JSON
what do you mean by that? catch the json error and then just throw another?
JSONDecodeError is raised by default when the JSON decoder sees malformed JSON, and I don't see why that can't just be caught like normal.
can you be more specific on how you want the error handling changed?
ah, i see fair enough
This pull request adds a macro for logarithms, along with JSON support. It also adds an optional seed argument for rand, and makes the error message actually show up for error.