[pt::Builder] add error handling