Account for error codes in interrupts