LoadDiagError

public enum LoadDiagError: Error

Describes the kind of error that occurred (if any) in a call to loadDiagnostics

  • Indicates that an unknown error occurred while attempting to deserialize diagnostics.

    Declaration

    Swift

    case unknown
  • Indicates that the file containing the serialized diagnostics could not be opened.

    Declaration

    Swift

    case cannotLoad
  • Indicates that the serialized diagnostics file is invalid or corrupt.

    Declaration

    Swift

    case invalidFile