ErrorType

public enum ErrorType : Int32

Enumeration of different metric lifetimes.

  • For when the value to be recorded does not match the metric-specific restrictions

    Declaration

    Swift

    case invalidValue = 0
  • For when the label of a labeled metric does not match the restrictions

    Declaration

    Swift

    case invalidLabel = 1
  • For when timings are recorded incorrectly

    Declaration

    Swift

    case invalidState = 2
  • For when the value to be recorded overflows the metric-specific upper range

    Declaration

    Swift

    case invalidOverflow = 3