Scanner Exception
class ScannerException @JvmOverloads constructor(val problem: String, val problemMark: Mark?, val context: String? = null, val contextMark: Mark? = null, cause: Throwable? = null) : MarkedYamlEngineException
Exception thrown by the Scanner implementations in case of malformed input.
Parameters
context
Part of the input document in which vicinity the problem occurred.
context Mark
Position of the context
within the document.
problem
Part of the input document that caused the problem.
problem Mark
Position of the problem
within the document.