public class ErrorItem extends Object
Example:
ErrorItem.Builder builder = ErrorItem.newBuilder();
builder.message(throwable.getMessage());
builder.errorType(throwable.getClass().getCanonicalName());
...
ErrorItem errorItem = builder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorItem.Builder
ErrorItem.Builder separates the construction of a ErrorItem from its representation
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getData() |
String |
getErrorType() |
String |
getErrorTypeCode() |
ErrorItem |
getInnerError() |
String |
getMessage() |
String |
getSourceMethod() |
List<TraceFrame> |
getStackTrace() |
static ErrorItem.Builder |
newBuilder() |
ErrorItem.Builder |
toBuilder() |
public String getMessage()
public String getErrorType()
public String getErrorTypeCode()
public String getSourceMethod()
public List<TraceFrame> getStackTrace()
public ErrorItem getInnerError()
public ErrorItem.Builder toBuilder()
public static ErrorItem.Builder newBuilder()
Copyright © 2019 Stackify, LLC. All rights reserved.