FailWithParser
public protocol FailWithParser
Protocol to allow defining multiple dedicated structs, one for each dApp, that knows how to convert the specific failWith cases into more human readable error messages
-
Take in a failWith and return a message
Declaration
Swift
func parse(failWith: FailWith?) -> String?