Class Error


  • public class Error
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Error()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Error fromJson​(java.lang.String json)  
      java.lang.String getCode()
      A string indicating error
      java.lang.String getField()
      Refers to the field in the request, if the error is specific to it.
      java.lang.String getMessage()
      A human-readable message providing more details about the error.
      java.lang.String toJson()  
      • Methods inherited from class java.lang.Object

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

      • Error

        public Error()
    • Method Detail

      • getCode

        public java.lang.String getCode()
        A string indicating error
        Returns:
        code
      • getMessage

        public java.lang.String getMessage()
        A human-readable message providing more details about the error.
        Returns:
        message
      • getField

        public java.lang.String getField()
        Refers to the field in the request, if the error is specific to it.
        Returns:
        field