MalformedUseException

class MalformedUseException(reason: String, location: String? = null) : SvgFormatException

The rejection of a <use> that doesn't fit the format's external-template form.

href is required and must name an external document — a bare fragment (href="#id", an internal reference) is outside /v1, though a #fragment suffix after a document path is tolerated and ignored. width and height are rejected: a template is never scaled, because one CGA unit is one SVG user unit in every document. The element must be empty and closed.

Constructors

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

Properties

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