Added an error code which is passed on with the callback in an error case. (Note: quick fix, that doesn't confirm to the oauth standard).