public abstract class DebugInfo extends Object
This class provides detailed information that can be used by developers and support teams to understand what went wrong and where the error occurred. The information is typically more technical and detailed than what would be shown to end users.
DebugInfo is particularly useful for:
| Modifier and Type | Class and Description |
|---|---|
static class |
DebugInfo.Builder
Builder for constructing DebugInfo instances.
|
| Constructor and Description |
|---|
DebugInfo() |
| Modifier and Type | Method and Description |
|---|---|
static DebugInfo.Builder |
builder()
Creates a new builder for constructing DebugInfo instances.
|
abstract String |
detail()
Additional debugging information provided by the server.
|
abstract List<String> |
stackEntries()
The stack trace entries indicating where the error occurred.
|
public abstract List<String> stackEntries()
This list contains the call stack at the time the error occurred, typically starting from the most recent call and going backwards through the call chain. Each entry usually represents a method call or function invocation.
Stack trace information is invaluable for:
public abstract String detail()
This field can contain any additional context or details that the server deems useful for debugging purposes. The exact content depends on the service implementation and the specific error that occurred.
Examples of additional debugging information might include:
public static DebugInfo.Builder builder()
Copyright © 2026. All rights reserved.