Class ErrorDiagnostics

java.lang.Object
growthbook.sdk.java.diagnostics.model.ErrorDiagnostics

public final class ErrorDiagnostics extends Object
Sanitized error metadata for diagnostics output.
  • Method Details

    • builder

    • getType

      public String getType()
      Simple class name for the captured error.
    • getCode

      @Nullable public String getCode()
      SDK error code when the error exposes one.
    • getMessage

      public String getMessage()
      Sanitized error message.
    • getTimestampMillis

      public long getTimestampMillis()
      Epoch-millis timestamp when the error was captured.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object