package net.pterodactylus.sone.web.ajax;
import com.fasterxml.jackson.annotation.JsonProperty;
+import com.google.common.annotations.VisibleForTesting;
/**
* {@link JsonReturnObject} that signals an error has occured.
this.error = error;
}
+ //
+ // ACCESSORS
+ //
+
+ /**
+ * Returns the error that occured.
+ *
+ * @return The error that occured
+ */
+ @VisibleForTesting
+ public String getError() {
+ return error;
+ }
+
}