scratch
/bower_components/yaml.js/src/Exception/DumpException.coffee |
@@ -0,0 +1,12 @@ |
|
class DumpException extends Error |
|
constructor: (@message, @parsedLine, @snippet) -> |
|
toString: -> |
if @parsedLine? and @snippet? |
return '<DumpException> ' + @message + ' (line ' + @parsedLine + ': \'' + @snippet + '\')' |
else |
return '<DumpException> ' + @message |
|
module.exports = DumpException |
/bower_components/yaml.js/src/Exception/ParseException.coffee |
@@ -0,0 +1,12 @@ |
|
class ParseException extends Error |
|
constructor: (@message, @parsedLine, @snippet) -> |
|
toString: -> |
if @parsedLine? and @snippet? |
return '<ParseException> ' + @message + ' (line ' + @parsedLine + ': \'' + @snippet + '\')' |
else |
return '<ParseException> ' + @message |
|
module.exports = ParseException |