Closed kaklakariada closed 2 years ago
The big plan for this is to maintain the highest error-code in the error-code-config.yml. In addition we planned to add a script that supplies the next free error-code + increases the number. Then we can add an integration to IDEs that past this by a certain key-combination.
Searching for the next free one is problematic, since it would re-use error-codes that were removed.
I would just propose highest-index + 1
. Then the user does not have to look it up themselves
In case of duplicate error codes it would be helpful if the crawler could propose the next free index in the error message. This would make it easier to fix the problem without searching the complete code.