function fail(message) {
    throw new Error(message);
}
Convert the path to a DOM element.
@param  {number} [decimalPlaces=2] - The amount of decimal places for floating-point values
@return {SVGPathElement}