Error handling with the 'nil' check
The rr postfix completion template generates a piece of code that checks if the error variable is not nil, then code exits the function and returns default values. You can use the rr postfix completion template for error handling. This template combines functionality of two already available templates, rre and rrv.
