Add TE error to various platforms (lib)