InitializationError

public enum InitializationError : Error

Errors that can be thrown during creation an instance.

  • The arguments tollgateName and paymentTypes are empty. At least one is required.

    Declaration

    Swift

    case missingNameAndPaymentType