RecordBuilderImpl setError(String error) {
    mError = error;
    return this;
  }
Get's any error that was encountered while creating the screenshot.
core/src/main/java/com/facebook/testing/screenshot/internal/RecordBuilderImpl.java