All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openlca.ipc.RpcError Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package org.openlca.ipc;

import com.google.gson.JsonElement;

/**
 * When a rpc call encounters an error, the Response Object MUST contain the
 * error member with a value that is an Object.
 *
 * see: ...
 */
public class RpcError {

	/**
	 * A Number that indicates the error type that occurred.
	 * This MUST be an integer.
	 */
	public int code;

	/**
	 * A String providing a short description of the error.
	 * The message SHOULD be limited to a concise single sentence.
	 */
	public String message;

	/**
	 * A Primitive or Structured value that contains additional information
	 * about the error. This may be omitted.
	 * The value of this member is defined by the Server (e.g. detailed error
	 * information, nested errors etc.).
	 */
	public JsonElement data;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy