`s/})/)/`. Furthermore, having the parameter names directly printed into the error message looks nicer.