Adding error passing stuff

This should be !mSessionLevel, right?