code: private void handleUnspecifiedScriptError(ScriptWrapper script, Writer writer, String errorMessage) {
  		try {
  			writer.append(errorMessage);
  		} catch (IOException e) {
  			if (logger.isDebugEnabled()) {
  				logger.debug("Failed to append script error message because of an exception:", e);
  			}
  			logger.warn("Failed to append error message: " + errorMessage);
  		}
  		this.setError(script, errorMessage);
  		this.setEnabled(script, false);
  	}
docs: Handles an unspecified error that occurred while calling or invoking a script.
  <p>
  The given {@code errorMessage} will be written to the given {@code writer} and the given {@code script} will be disabled
  and flagged that has an error.
  
  @param script the script that failed to be called/invoked, must not be {@code null}
  @param writer the writer associated with the script, must not be {@code null}
  @param errorMessage the message that will be written to the given {@code writer}
  @see #setError(ScriptWrapper, String)
  @see #setEnabled(ScriptWrapper, boolean)