static fun singleError(message: String): MutableList<ConfigurationError> (source)
Create a single error.
Return
A list containing a single error.
static fun singleError(message: String, @Nullable cause: Throwable?): MutableList<ConfigurationError> (source)
Create a single error.
cause - The cause of the error.
Return
A list containing a single error.
static fun singleError(@Nullable position: DocumentPosition?, message: String): MutableList<ConfigurationError> (source)
Create a single error.
position - The location of the error in the configuration document.
Return
A list containing a single error.
static fun singleError(@Nullable position: DocumentPosition?, message: String, @Nullable cause: Throwable?): MutableList<ConfigurationError> (source)
Create a single error.
position - The location of the error in the configuration document.
cause - The cause of the error.
Return
A list containing a single error.