ADSQLParseError

public enum ADSQLParseError: Error

Defines the type of errors that can arise when parsing a SQL command string.

  • The parser encountered an unknown keyword in the SQL Command. message contains the details of the given failure.

    Declaration

    Swift

    case unknownKeyword(message: String)
  • The parser encountered an unknown function name in the SQL Command. message contains the details of the given failure.

    Declaration

    Swift

    case unknownFunctionName(message: String)
  • The parser encountered an invalid keyword in the SQL Command. message contains the details of the given failure.

    Declaration

    Swift

    case invalidKeyword(message: String)
  • The parser encountered a value in single quotes that is not properly terminated. message contains the details of the given failure.

    Declaration

    Swift

    case mismatchedSingleQuotes(message: String)
  • The parser encountered a value in double quotes that is not properly terminated. message contains the details of the given failure.

    Declaration

    Swift

    case mismatchedDoubleQuotes(message: String)
  • The parser encountered a value in parenthesis that is not properly terminated. message contains the details of the given failure.

    Declaration

    Swift

    case mismatchedParenthesis(message: String)
  • The parser encountered a value that it was not expecting. message contains the details of the given failure.

    Declaration

    Swift

    case malformedSQLCommand(message: String)
  • The parser expected an integer as the next value. message contains the details of the given failure.

    Declaration

    Swift

    case expectedIntValue(message: String)