VayErrorType

public enum VayErrorType : Error

Errors.

  • Server error.

    Declaration

    Swift

    case serverError(reason: String)

    Parameters

    reason

    provide more detail about server error.

  • Invalid Input.

    Declaration

    Swift

    case invalidInput(reason: String)

    Parameters

    reason

    provide more detail about invalid input.

  • Connection Error.

    Declaration

    Swift

    case connectionError(reason: String)

    Parameters

    reason

    provide more detail about connection error.

  • Timeout Error.

    Declaration

    Swift

    case timeout(reason: String)

    Parameters

    reason

    provide more detail about the timeout error.

  • Security Error.

    Declaration

    Swift

    case securityError(reason: String)

    Parameters

    reason

    provide more detail about the security error.

  • Other errors.

    Declaration

    Swift

    case other(reason: String)

    Parameters

    reason

    provide more detail about other errors.