metomi/rose#20: add custom exception