FitEncodingError

public enum FitEncodingError : Error
extension FitEncodingError: LocalizedError

Errors for FIT File Encoding

  • No Messages

    Declaration

    Swift

    case noMessages
  • Multiple FileIdMessages

    Declaration

    Swift

    case multipleFileIdMessage
  • Resulting File is too large

    Declaration

    Swift

    case tooManyMessages
  • FIT Message Not supported

    Declaration

    Swift

    case notSupported
  • Property Size Issue

    Declaration

    Swift

    case properySize(String)
  • Properties Value not Correct

    Declaration

    Swift

    case propertyValue(String)
  • Property Bounds Issue

    Declaration

    Swift

    case properyBounds(String)
  • No Properties available to Encdode

    Declaration

    Swift

    case noProperties(String)
  • File Type

    Many FIT File Types have specific requirements for the messages or properties that must be used.

    Declaration

    Swift

    case fileType(String)
  • Wrong Definition Message

    Declaration

    Swift

    case wrongDefinitionMessage(String)
  • Base Type Issue

    Declaration

    Swift

    case unknownBaseType
  • A localized message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }