code: public SpatialViewQuery onError(final OnError onError) {
          params[PARAM_ONERROR_OFFSET] = "on_error";
          params[PARAM_ONERROR_OFFSET+1] = onError.identifier();
          return this;
      }
docs: Sets the response in the event of an error.
  
  See the "OnError" enum for more details on the available options.
  
  @param onError The appropriate error handling type.
  @return the {@link SpatialViewQuery} object for proper chaining.