Hook failures now cascade their error codes up when the app exits.