We have hardcoded record of the built-in ZErrorType Zids in WikiLambda/Registry/ZErrorTypeRegistry as well as in function-schemata/javascript/src/error.js.
We should try to have a single source of truth for better maintenance (probably in function-schemata)