Can we still pass in the `code` + `msg` and use the `.msg` inside of the register widget? That would make it more consistent with the other APIs and still allows us to check the status code.