Last active
February 19, 2017 14:29
-
-
Save srdanrasic/6d162d9bf949c07d8e6de2d6f0ca2466 to your computer and use it in GitHub Desktop.
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
open class Client { | |
open func response<Resource, Error: Swift.Error>(for request: Request<Resource, Error>) -> Signal<Resource, Client.Error> | |
} | |
public class SafeClient { | |
public let errors = SafeSignal<UserFriendlyError>() | |
public init(wrapping client: Client) | |
public func response<Resource, Error: Swift.Error>(for request: Request<Resource, Error>) -> SafeSignal<Resource> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment