Replace wrapres() with err()
Readd (but deprecate) wrapres due to breaking
Release v0.36