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