Add door class to NKError to handle managing re-entrant functions