Arch: Better output messages if the shape of an arch object is invalid