Skip to content

Commit ae4eff6

Browse files
dblythycbaker6
andauthored
Update Sources/ParseSwift/Types/ParseError.swift
Co-authored-by: Corey <[email protected]>
1 parent be25ddb commit ae4eff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ParseSwift/Types/ParseError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct ParseError: ParseType, Decodable, Swift.Error {
2121
init(code: Code, message: String) {
2222
self.code = code
2323
self.message = message
24-
self.otherCode = code.rawValue
24+
self.otherCode = nil
2525
}
2626

2727
/// A textual representation of this error.

0 commit comments

Comments
 (0)