Add LibError exception wrapping.