Global

enum Global : Error, CustomStringConvertible

The Exception.Global struct contains global errors that can be thrown.

  • Thrown in the event an old, deprecated method is called.

    Declaration

    Swift

    case methodUnavailable(AnyClass, String)
  • Thrown if a limit property has an out-of-range value.

    Declaration

    Swift

    case limitOutOfRange(Int, CountableClosedRange<Int>)
  • A description for the error.

    Declaration

    Swift

    public var description: String { get }