UNPKG

opencolor

Version:

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

18 lines (15 loc) 352 B
'use strict'; /** * @ignore */ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = ParserError; function ParserError(message, hash) { this.name = 'ParserError'; this.message = message; this.error = hash; } ParserError.prototype = Object.create(Error.prototype); ParserError.prototype.constructor = ParserError;