Checkout error hook

@coenjacobs useful for .15 IMO