Warranties differ considerably based on the project and the painted substrate.
Synthetic wood surfaces, such as Hardiboard, compressed wood, and others, are the easiest to paint. Painting stucco surfaces is also rather simple. Surprisingly, real wood and pressure-treated wood are harder to work with, and the finishes do not stay as long.
To avoid cases of rotting, pressure-treated wood is treated with chemicals that stay in the wood for a long time. As the heat from the sun pulls these compounds out of the wood, they slowly leak out. When the sun takes the moisture from the wood, it forces the coating off, peeling the paint.
Dry wood is rarely utilized in new construction homes; peeling paint is typically only seen after a few years. Although less significant, similar difficulties exist with real wood, such as Cedar. And although it is better than pressure-treated wood, the natural oils in the wood are gradually sucked out, forcing the coating to peel.
Small flaws in the wood can allow water and other moisture to permeate the board, causing the paint to peel. Depending on the coating applied, we normally give a 5-year or 10-year service warranty with caveats for wet wood. A synthetic surface, such as the one mentioned above, will stand up well.