I would change the last sentence to "The template name must have been registered previously with `register()`", and remove the bit about an error being thrown because `Y.error()` doesn't always throw.