Playing around with error interface
Copied over e2 trace support