example:

The issue is that there is no way to localize this string, which would make these mods impossible to install in other languages
I suggest either adding localization support for error() directly or adding a separate function called localized_error()