Skip to content

Commit

Permalink
Import Foundation in WordPressOrgXMLRPCApiError* files for SPM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Apr 15, 2024
1 parent e0742b3 commit 22dcdd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Foundation

/// See `extension WordPressComRestApiEndpointError: CustomNSError` for documentation and rationale.
extension WordPressOrgXMLRPCApiError: CustomNSError {

Expand Down
2 changes: 2 additions & 0 deletions Sources/CoreAPI/WordPressOrgXMLRPCApiErrorDomain.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Foundation

/// Error domain of `NSError` instances that are converted from `WordPressOrgXMLRPCApiError`
/// and `WordPressAPIError<WordPressOrgXMLRPCApiError>` instances.
///
Expand Down

0 comments on commit 22dcdd8

Please sign in to comment.