See
register_restricted
in the errors guide
.