UNPKG

opencolor

Version:

A collection of functions to parse Open Color files, construct them via code and write them

13 lines (11 loc) 265 B
'use strict' /** * @ignore */ export default function ParserError (message, hash) { this.name = 'ParserError' this.message = message this.error = hash } ParserError.prototype = Object.create(Error.prototype) ParserError.prototype.constructor = ParserError