Allow chaining success and error functions