Klasse PsaRstApiErr

java.lang.Object
de.pisa.psa.rst.obj.PsaRstApiErr

public class PsaRstApiErr extends Object
REST API: error
Seit:
23.05.2023
Autor:
weiland
  • Felddetails

    • error

      public String error
      A human-readable error message
    • code

      public String code
      A technical identifier that uniquely identifies the error
    • details

      public Map<String,String> details
      Technical details about the error that can be used for automation
  • Konstruktordetails

    • PsaRstApiErr

      public PsaRstApiErr()
      Default constructor
    • PsaRstApiErr

      public PsaRstApiErr(PsaRstApiErr source)
      Copy constructor
      Parameter:
      source -
  • Methodendetails

    • addDetail

      public void addDetail(String key, String value)
      add a detail
      Parameter:
      key - key
      value - value
    • toJson

      public String toJson()
      get the JSON for this instance
      Gibt zurück:
      JSON
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
      Siehe auch: