GH-30 adding expection handle for struct.error