Enumerations

The following enumerations are available globally.

  • An error representing a failure to create an Identifier.

    Usage Example:

    An QueryParamsError.invalidValue may be thrown if the given type cannot be constructed from the given string.

     throw QueryParamsError.invalidValue
    
    See more

    Declaration

    Swift

    public enum QueryParamsError : Error
  • An error representing a failure to create an Identifier.

    Usage Example:

    An IdentifierError.invalidValue may be thrown if the given string cannot be converted to an integer when using an Identifier.

     throw IdentifierError.invalidValue
    
    See more

    Declaration

    Swift

    public enum IdentifierError : Error
  • An enum containing the ordering information

    Usage Example:

    To order ascending by name, we would write:

    Order.asc("name")
    
    See more

    Declaration

    Swift

    public enum Order : Codable
  • An enum defining the available logical operators

    Usage Example:

    To use the OR Operator, we would write:

    Operator.or
    
    See more

    Declaration

    Swift

    public enum Operator : String, Codable