Sha256: 853047520f3bf2570780f66b75019aa6aee00f5a5ba25653b7a3bdd8691325ab

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

module CiteProc

  class Error < StandardError
    attr_reader :original

    def initialize(message, original = $!)
      @original = original
			super(message)
    end    
  end
  
	ParseError = Class.new(Error)
		
  EngineError = Class.new(Error)
  
  NotImplementedByEngine = Class.new(Error)
  
  RenderingError = Class.new(Error)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
citeproc-1.0.0.pre12 lib/citeproc/errors.rb
citeproc-1.0.0.pre11 lib/citeproc/errors.rb