mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
Jacek Sieka
427297068d
chore: clean up exception specifiers (#13735)
Annotating functions explicitly with `{.raises: [Exception].}` prevents Nim from performing compile-time exception checking and is almost never desired - it does have a tendency to spread through the codebase however, similar to sub-par const correctness in C++. The reason these annotations might have seemed necessary can be traced to missing exception specifiers in the go imports bumped in this PR. See https://status-im.github.io/nim-style-guide/interop.c.html#functions-and-types for background on Nim-go interop and https://status-im.github.io/nim-style-guide/errors.exceptions.html for more information on how exception tracking can be leveraged to find missing error handling at compile-time. This change has no runtime effect - it merely makes compile-time error messages more informative or avoids them entirely.
…
…
…
…
Description
Languages
QML
37.6%
JavaScript
30.4%
Nim
19%
Python
5.8%
C++
5.4%
Other
1.7%