InfluxDBError

public enum InfluxDBError : Error, CustomStringConvertible

The general InfluxDB error.

  • Error response to HTTP request.

    • errorCode: HTTP status code
    • headers: Response HTTP headers
    • body: Response body
    • cause: Cause of error

    Declaration

    Swift

    case error(_: Int, _: [AnyHashable : Any]?, _: [String : Any]?, _: Error)
  • Generic error.

    • message: Reason

    Declaration

    Swift

    case generic(_: String)
  • Wrapped generic error into InfluxDBError.

    • cause: Cause of error

    Declaration

    Swift

    case cause(_: Error)
  • The error that occurs during execution Flux query.

    • reference: Reference code
    • message: Reason

    Declaration

    Swift

    case queryException(_: Int, _: String)
  • Declaration

    Swift

    public var description: String { get }