[sr-dev] git:master:51f07e7b: registrar Clean up and document error codes from the unregister function