Literary sub-genre: Novel or play retells a classic from the perspective of a secondary character or characters. The new story tracks the the original but shifts some of its action offstage. The two versions intertwine, each now commenting on the other.
Examples:
Rosencrantz and Guildenstern Are Dead (Tom Stoppard).
James (Percival Everett).
Are there others? There must be.