Following #3: ContainerException

This is the implementation that was decided in #3.

Pull request for review.

Please comment with a :+1: if that sounds OK to you, we'll save some time by merging it quickly. Feel free to comment otherwise.