* @brief Error response for an unsupported assistant.script.* kind. */
| 341 | * @brief Error response for an unsupported assistant.script.* kind. |
| 342 | */ |
| 343 | static API::CommandResponse unknownKindError(const QString& id, |
| 344 | const QString& kind, |
| 345 | const QString& validKinds) |
| 346 | { |
| 347 | return API::CommandResponse::makeError( |
| 348 | id, |
| 349 | API::ErrorCode::InvalidParam, |
| 350 | QStringLiteral("Unknown kind: '%1'. Use one of: %2.").arg(kind, validKinds)); |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * @brief Dry-run a script by kind (frame_parser / transform / painter). |
no outgoing calls
no test coverage detected