Files
Outpost/OutlineKit/Sources/OutlineKit/Core/OutlineAPIError.swift
T
Puranjay Savar Mattas 07fb08cb6b feat(outlinekit): add REST client package for Outline API
Local SPM package wrapping Outline's RPC-style REST API — auth,
documents, collections, and search — behind a protocol boundary
(OutlineAPIClient) so the app never depends on the transport directly.
2026-08-14 00:23:12 +01:00

11 lines
232 B
Swift

import Foundation
public enum OutlineAPIError: Error, Sendable {
case unauthorized
case notFound
case server(status: Int, message: String?)
case decoding(Error)
case transport(Error)
case tokenUnavailable
}