MappingException

constructor(reason: MappingExceptionReason, details: String, cause: Throwable? = null, path: MutableList<String> = mutableListOf())

Parameters

cause

The underlying exception that caused this failure, if any.

path

Where in the nested object structure the mapping error occurred, for a frame that knows it already. Kept on OctaviusException, which every layer that has something to add to it writes to; this is only the first segment, for the mapper that raises the exception at the depth it found the fault.