Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
080185c
Sources/DataConnectError.swift: add classes to support partial errors.
dconeybe Feb 27, 2025
d5b1f19
Update DataConnectError.swift
aashishpatil-g Feb 28, 2025
3f277ce
DataConnectError.swift: minor tweaks from offline discussion
dconeybe Mar 3, 2025
c3cef5a
DataConnectError.swift: remove message string parameter
dconeybe Mar 3, 2025
3a03ef9
DataConnectError.swift: move OperationFailureResponse.ErrorInfo to to…
dconeybe Mar 3, 2025
23d76fb
Merge remote-tracking branch 'origin/main' into PartialErrors
dconeybe Mar 14, 2025
ad7cc64
DataConnectError.swift: update to match api proposal
dconeybe Mar 14, 2025
477e464
get it to build
dconeybe Mar 14, 2025
7ab5f83
PartialErrorsDemo.swift added
dconeybe Mar 14, 2025
f55305a
PartialErrorsDemo.swift: add usage of decodedData() to demo its use.
dconeybe Mar 14, 2025
98faec4
Updates matching API review and Refactored Errors
aashishpatil-g Mar 21, 2025
e29553c
Style Fixes
aashishpatil-g Mar 21, 2025
c763b2d
Remove whitespace from gql file
aashishpatil-g Mar 21, 2025
2a52e58
Re-add copyright notice to generated code
aashishpatil-g Mar 24, 2025
255d8dd
Unnest PathSegment definition
aashishpatil-g Mar 24, 2025
a763f9c
Rename PathSegment to DataConnectPathSegment to match other platforms
aashishpatil-g Mar 24, 2025
cd2cc5a
Cleanup post refactor (removed old `kind` var)
aashishpatil-g Mar 25, 2025
0e717a9
Convert vars to lets
aashishpatil-g Mar 25, 2025
8ddbe53
Change `cause` to `underlyingError`
aashishpatil-g Mar 25, 2025
72c1ac1
Make boxed error accessible
aashishpatil-g Mar 26, 2025
4d78594
Add Unit test to confirm domain error carries through the boxed type
aashishpatil-g Mar 26, 2025
95fc74e
Style checks
aashishpatil-g Mar 26, 2025
8bc19e7
Remove DataConnectError conformance
aashishpatil-g Mar 26, 2025
20d34b1
Nick feedback
aashishpatil-g Mar 27, 2025
92c1aec
fix copyright year
aashishpatil-g Mar 27, 2025
0fc0b63
Comment feedback fix
aashishpatil-g Mar 27, 2025
1c41f41
Documentation fixes.
aashishpatil-g Mar 27, 2025
0aafe10
More documentation fixes
aashishpatil-g Mar 27, 2025
c294d70
Yet more doc fixes
aashishpatil-g Mar 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup post refactor (removed old kind var)
  • Loading branch information
aashishpatil-g committed Mar 25, 2025
commit cd2cc5aa4e47f296ec4df848034c41141b5a6ec8
6 changes: 0 additions & 6 deletions Sources/DataConnectError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,8 @@ public struct DataConnectCodecError: DataConnectDomainError {

/// Data Connect Operation Failed
public struct DataConnectOperationError: DataConnectError {
public var kind: String {
return "operationError"
}

public var message: String?

public var cause: (any Error)?

public private(set) var response: OperationFailureResponse? = nil

private init(message: String? = nil, cause: Error? = nil, response: OperationFailureResponse?) {
Expand Down
Loading