Problem

Interface for describing structured information about a problem.

Since

8.13

Functions

Link copied to clipboard
@Nullable
abstract fun getAdditionalData(): AdditionalData
Additional data attached to the problem.
Link copied to clipboard
@Nullable
abstract fun getContextualLabel(): String
Declares a short, but context-dependent message for this problem.
Link copied to clipboard
Returns additional locations, which can help to understand the problem further.
Link copied to clipboard
Returns the problem definition, i.e.
Link copied to clipboard
@Nullable
abstract fun getDetails(): String
A long description detailing the problem.
Link copied to clipboard
@Nullable
abstract fun getException(): Throwable
The exception that caused the problem.
Link copied to clipboard
Returns the locations where the problem originated.
Link copied to clipboard
abstract fun getSolutions(): List<String>
Returns solutions and advice that contain context-sensitive data, e.g.