Changes TDSessionExpired superclass to Error