We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Result
1 parent c77a8f9 commit 181b342Copy full SHA for 181b342
Source/Errors.swift
@@ -0,0 +1,5 @@
1
+public typealias Error = Exception
2
+
3
+public enum Result<Value, Error: Swift.Error> {
4
+ case value(Value), error(Error)
5
+}
Source/Swift.Shared.projitems
@@ -93,6 +93,7 @@
93
<Compile Include="$(MSBuildThisFileDirectory)Array.Java.swift" />
94
<Compile Include="$(MSBuildThisFileDirectory)Dictionary.Java.swift" />
95
<Compile Include="$(MSBuildThisFileDirectory)Operators.swift" />
96
+ <Compile Include="$(MSBuildThisFileDirectory)Errors.swift" />
97
</ItemGroup>
98
<ItemGroup>
99
<Folder Include="Sequences">
0 commit comments