* @brief Build the standard "no dashboard session active" error response. */
| 36 | * @brief Build the standard "no dashboard session active" error response. |
| 37 | */ |
| 38 | static API::CommandResponse noSession(const QString& id) |
| 39 | { |
| 40 | return API::CommandResponse::makeError( |
| 41 | id, API::ErrorCode::ExecutionError, QStringLiteral("No dashboard session active")); |
| 42 | } |
| 43 | |
| 44 | //-------------------------------------------------------------------------------------------------- |
| 45 | // Command registration |
no outgoing calls
no test coverage detected