This commit removes a panic when a register mapping fails and instead returns an error from creating the unwind information.