-
public final class ErrorEvent.CauseProperties for one of the error causes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classErrorEvent.Cause.Companion
-
Constructor Summary
Constructors Constructor Description ErrorEvent.Cause(String message, String type, String stack, ErrorEvent.ErrorSource source)
-
Method Summary
Modifier and Type Method Description final StringgetMessage()final UnitsetMessage(String message)final StringgetType()final StringgetStack()final UnitsetStack(String stack)final ErrorEvent.ErrorSourcegetSource()final JsonElementtoJson()-
-
Constructor Detail
-
ErrorEvent.Cause
ErrorEvent.Cause(String message, String type, String stack, ErrorEvent.ErrorSource source)
- Parameters:
message- Error messagetype- The type of the errorstack- Stacktrace of the errorsource- Source of the error
-
-
Method Detail
-
getMessage
final String getMessage()
-
setMessage
final Unit setMessage(String message)
- Parameters:
message- Error message
-
getSource
final ErrorEvent.ErrorSource getSource()
-
toJson
final JsonElement toJson()
-
-
-
-