code: public static HttpResponse errorJSON(@Nonnull String message, @Nonnull Map<?,?> data) {
          return new JSONObjectResponse(data).error(message);
      }
docs: Set the response as an error response plus some data.
  @param message The error "message" set on the response.
  @param data The data.
  @return {@code this} object.
  
  @since 2.119