4 ms·
unless errorlevel is exported as ErrorLevel you can only do so inside the declaring package.
by mbnull 5y ago
unless errorlevel is exported as ErrorLevel you can only do so inside the declaring package.
- mariusor 5y agoIndeed, that was the idea behind keeping it unexported. From an external package you can only access the explicit values and the functions that accept them as parameters. The type is opaque for the developer.
- marcus_holmes 5y agoYeah, ok, fair point. That kinda works, but enums would be better