Sha256: 046933f0521b72552740d491989a6e582d685c2f10470df15b97e3d3ba880a32
Contents?: true
Size: 454 Bytes
Versions: 56
Compression:
Stored size: 454 Bytes
Contents
'use strict'; function YAMLException(reason, mark) { this.name = 'YAMLException'; this.reason = reason; this.mark = mark; this.message = this.toString(false); } YAMLException.prototype.toString = function toString(compact) { var result; result = 'JS-YAML: ' + (this.reason || '(unknown reason)'); if (!compact && this.mark) { result += ' ' + this.mark.toString(); } return result; }; module.exports = YAMLException;
Version data entries
56 entries across 42 versions & 5 rubygems