Toy transaction manager - An interceptor is a higher-order function ...