ErrorType
@objc
public enum ErrorType : Int
                Enum representing different types of errors that can occur.
- connection: Error related to establishing a connection.
 - request: Error related to the request being made.
 - serverError: Error returned by the server.
 - authentication: Error related to authentication.
 - unexpected: Unexpected error that is not covered by the other cases.
 - importError: Error related to importing documents.
 
- 
                  
                  
Undocumented
Declaration
Swift
case connection - 
                  
                  
Undocumented
Declaration
Swift
case request - 
                  
                  
Undocumented
Declaration
Swift
case serverError - 
                  
                  
Undocumented
Declaration
Swift
case authentication - 
                  
                  
Undocumented
Declaration
Swift
case unexpected - 
                  
                  
Undocumented
Declaration
Swift
case importError - 
                  
                  
Initializes a new instance of the
ErrorTypeenum based on the givenGiniError.Declaration
Swift
public init(error: GiniError)Parameters
errorThe
GiniErrorto base theErrorTypeon. 
    
        
            View on GitHub
          
      ErrorType Enumeration Reference