sendErrorResponse(req, res, err) {
        if (err instanceof RobotFirmwareError) {
            Logger.warn(`${this.constructor.name}: Received error from robot while handling route "${req.path}"`, {
                body: req.body,
                message: err.message
            });
        } else {
            Logger.warn(`${this.constructor.name}: Error while handling route "${req.path}"`, {
                body: req.body,
                message: err.message
            });
        }


        res.status(500).json(err.message);
    }
@protected
@param {any} req
@param {any} res
@param {Error} err