public static class ErrorLogger.DeconstructedException extends Object
Modifier and Type | Method and Description |
---|---|
String |
getAugmentedErrorWithContext(String indent,
HumanReadableExceptionAugmentor errorAugmentor)
Creates the user-friendly exception with context, masked stack trace (if not suppressed), and
with augmentations.
|
String |
getMessage(boolean suppressStackTraces)
Returns the message (and optionally stack trace) for the root cause.
|
Throwable |
getRootCause() |
boolean |
isNoSpaceOnDevice() |
boolean |
isUserError()
Indicates whether this exception is a user error or a buck internal error.
|
public String getMessage(boolean suppressStackTraces)
public boolean isUserError()
public boolean isNoSpaceOnDevice()
public Throwable getRootCause()
public String getAugmentedErrorWithContext(String indent, HumanReadableExceptionAugmentor errorAugmentor)