Struct to contain connection error Code is an integer instead of an enum since connection task can be extended, range under 10000 is reserved. Currently used code and their meaning are as follow No Error = 0: Success Pre Connection Canceled = 1: Pre connection validation was canceled by the user Connection Attempt Aborted = 2: Ongoing connection attempt was canceled by the user Server Not Responding = 3: Connection request to server timed out Server Request Failure = 4: Server refused the session connection request Workspace Validation Unknown Error = 100: Workspace validation unknown error Source Control Validation Unknown Error = 110: Unknown source control validation error Source Control Validation Canceled = 111: Source control validation was canceled by the user Source Control Validation Error = 112: Modified files not yet submitted were found in the workspace Dirty Packages Validation Error = 113: Dirty Packages were found before connecting to a session