gems.multi_json-1.11.0.lib.multi_json.parse_error.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sass-maven-plugin Show documentation
Show all versions of sass-maven-plugin Show documentation
A Maven Plugin that compiles Sass files.
module MultiJson
class ParseError < StandardError
attr_reader :data, :cause
def self.build(original_exception, data)
new(original_exception.message).tap do |exception|
exception.instance_eval do
@cause = original_exception
set_backtrace original_exception.backtrace
@data = data
end
end
end
end
DecodeError = LoadError = ParseError # Legacy support
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy