Raised if register/unregister fails.
reason — The reason for the failure.
The reason for the failure.