MissingTemplateException

class MissingTemplateException(val href: String, location: String? = null) : SvgFormatException

The absence of a template document a <use> references.

parseSvg resolves each <use> against its templates map; an href with no entry throws. scanSvgRefs lists the documents a layout needs, so a caller can fetch them all before parsing.

Constructors

Link copied to clipboard
constructor(href: String, location: String? = null)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

The referenced document path — the <use> element's href up to any #.

Link copied to clipboard
expect open val message: String?