public static function raiseError($errorMsg) { ob_clean(); self::log('Error while performing remote command `' . $errorMsg . '`.'); echo '#E#' . $errorMsg; self::endResponse(false); }