PulseCanvas / app · pulsecanvas.ai / scripts / ProjectMErrorStandalone.swift
| 1 | import Foundation |
| 2 | |
| 3 | /// For engine-only test builds that compile ProjectMEngine.swift without ProjectMPresets.swift, |
| 4 | /// where the app defines this error. Keep it identical to that definition. |
| 5 | struct ProjectMError: LocalizedError { |
| 6 | let message: String |
| 7 | init(_ message: String) {self.message = message} |
| 8 | var errorDescription: String? {message} |
| 9 | } |