public class ErrorResult
extends Object
Helper function for throwing known error response
-
Constructor Summary
Constructors
-
Method Summary
Getter for error
Information about the error(s)
void
Setter for error
Information about the error(s)
Returns a JSON string representation of ErrorResult
-
Constructor Details
-
ErrorResult
public ErrorResult()
-
Method Details
-
getError
Getter for error
Information about the error(s)
-
setError
Setter for error
Information about the error(s)
-
toString
Returns a JSON string representation of ErrorResult
- Overrides:
toString
in class Object