Adding generalised error code retrieval to rest/json errors
Using view patterns to make alignment uniform for rendered retry branches
Removing error exports from Prelude, direct import on Error now required