Error

extension Error
  • Indicates whether this instance is a WebcomError having the given code.

    Declaration

    Swift

    public func isWebcomError(havingCode code: WebcomError.Code) -> Bool

    Parameters

    code

    The code to check.

    Return Value

    true when this instance is a WebcomError and its code is code, false otherwise