Class ErrorResult


  • public class ErrorResult
    extends java.lang.Object
    Helper function for throwing known error response
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ErrorInfo getError()
      Getter for error Information about the error(s)
      void setError​(ErrorInfo value)
      Setter for error Information about the error(s)
      java.lang.String toString()
      Returns a JSON string representation of ErrorResult
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ErrorResult

        public ErrorResult()
    • Method Detail

      • getError

        public ErrorInfo getError()
        Getter for error Information about the error(s)
      • setError

        public void setError​(ErrorInfo value)
        Setter for error Information about the error(s)
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of ErrorResult
        Overrides:
        toString in class java.lang.Object