A judgment on confession shall be equal to a release of all errors; but all powers of attorney for confessing or suffering judgment to pass by default or otherwise, and all general releases of error made or to be made by any person before action brought, shall be absolutely null and void.