Could you maybe put the error callback inside `then`, and call the `callback` after, so you don't have to write out the same thing every time?