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.

    Declaration

    Swift

    case timeout
  • Other errors.

    Declaration

    Swift

    case other(reason: String)

    Parameters

    reason

    provide more detail about other errors.