Result

public enum Result<Model>

Undocumented

  • Convenience getter for the value.

    Declaration

    Swift

    public var value: Model? { get }
  • Convenience getter for the pagination.

    Declaration

    Swift

    public var pagination: Pagination? { get }
  • Convenience getter for the error.

    Declaration

    Swift

    public var error: Error? { get }
  • Convenience getter to test whether the result is an error or not.

    Declaration

    Swift

    public var isError: Bool { get }