// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation

public struct SongifyErrorCode: RawRepresentable, Codable, Equatable {
    public let rawValue: String

    public init(rawValue: String) {
        self.rawValue = rawValue
    }

    public static let timeout = Self(rawValue: "timeout")
    public static let inputInvalid = Self(rawValue: "input_invalid")
    public static let resourceExhausted = Self(rawValue: "resource_exhausted")
    public static let rateLimited = Self(rawValue: "rate_limited")
    public static let workerCrash = Self(rawValue: "worker_crash")
    public static let upstreamError = Self(rawValue: "upstream_error")
    public static let ffmpegError = Self(rawValue: "ffmpeg_error")
    public static let storageError = Self(rawValue: "storage_error")
    public static let networkError = Self(rawValue: "network_error")
    public static let internalError = Self(rawValue: "internal_error")
}
