// Copyright © 2022 Olo Inc. All rights reserved.
// This software is made available under the Olo Pay SDK License (See LICENSE.md file)
//
//  ErrorCodes.swift
//  Plugin
//
//  Created by Justin Anderson on 5/16/25.
//

public class ErrorCodes {
    public static let InvalidParameter = "InvalidParameter"
    public static let MissingParameter = "MissingParameter"
    public static let UninitializedSdk = "SdkUninitialized"
    public static let ApplePayUnsupported = "ApplePayUnsupported"
    public static let ApplePayError = "ApplePayError"
    public static let ApplePayTimeout = "ApplePayTimeoutError"
    public static let DigitalWalletUninitialized = "DigitalWalletUninitialized"
    public static let EmptyMerchantId = "EmptyMerchantId"
    public static let EmptyCompanyLabel = "EmptyCompanyLabel"
    public static let InvalidCountryCode = "InvalidCountryCode"
    public static let LineItemsTotalMismatch = "LineItemsTotalMismatch"
    public static let UnexpectedError = "UnexpectedError"
    
    // Do not rename this key... it maps to an OPError type, but we also
    // use if for some other scenarios in the SDK
    public static let GeneralError = "generalError"
}
