Error

public protocol Error : Error

An error supplying a message and description.

  • A brief message describing the error

    Declaration

    Swift

    var message: String { get }
  • A more detailed description of the error’s cause

    Declaration

    Swift

    var details: String? { get }