AWSErrorCodeMatcher
public struct AWSErrorCodeMatcher : AWSWaiterMatcher
Match whether an AWS API call returns a specific error code
-
Declaration
Swift
public init(_ code: String)
-
Declaration
Swift
public func match(result: Result<Any, Error>) -> Bool