The Hammurabi Code dates from 1754BC and is the preserved legal code of Baylonian law. It provides for various punishments according to the circumstances of the case.
There are several translations of the code and the sections you cite; Code 229 and 230 appear to be comparable to other translations. The question you pose is simple, yet can lead to complicated answers. The simple answer is no one can be absolutely sure what the next course of action would be for the builder in your scenario.
(The entire section contains 277 words.)