Created
September 21, 2015 14:56
-
-
Save vasarhelyia/2efd5858d8a704b2c0b8 to your computer and use it in GitHub Desktop.
error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var serializationError: NSError? | |
request.HTTPBody = body.rawData(options: .PrettyPrinted, error: &serializationError) | |
if let error = serializationError { | |
return Result.failure(error) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment