UNError

public struct UNError : Error

Struct to represent Unsplash errors to a given query.

  • Types of things that might go wrong.

    Declaration

    Swift

    public let reason : UNErrorReason
  • All the reasons Unsplash returned on why the error happened.

    Declaration

    Swift

    public let reasonDescriptions : [String]