Class ErrorContext
- java.lang.Object
-
- com.djrapitops.plan.utilities.logging.ErrorContext
-
- All Implemented Interfaces:
java.io.Serializable
public class ErrorContext extends java.lang.Object implements java.io.Serializable
Contains context for an error that might help debugging it.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ErrorContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorContext.Builder
builder()
java.util.Optional<java.lang.String>
getWhatToDo()
void
merge(ErrorContext context)
java.util.Collection<java.lang.String>
toLines()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static ErrorContext.Builder builder()
-
getWhatToDo
public java.util.Optional<java.lang.String> getWhatToDo()
-
toLines
public java.util.Collection<java.lang.String> toLines()
-
merge
public void merge(ErrorContext context)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-