                   svg: fs.readFileSync filename,
                          encoding: getSetting settings, 'svgEncoding'
               else
-                throw new SVGTilerException "Unrecognized extension in filename '#{data}' for symbol '#{key}'"
+                throw new SVGTilerError "Unrecognized extension in filename '#{data}' for symbol '#{key}'"
         else
           data = svg: data
       new StaticSymbol key, {...data, settings}


extensionOf = (filename) -> path.extname(filename).toLowerCase()

class SVGTilerException
  constructor: (@message) ->
  toString: ->
    "svgtiler: #{@message}"

parseBox = (box) ->
  return null unless box

  Drawings, XLSXDrawings,
  Style, CSSStyle, StylusStyle,
  extensionMap, Input, Mappings, Context,
  SVGTilerError, SVGNS, XLINKNS, escapeId,
  main, convertSVG, renderDOM, defaultSettings,
  version: metadata.version
}
