Pull request 1

Use putError approach it will be more clear.