Sha256: 672883dddc411a09e0ce9ea5f950583e5eb146938741db982e575f3084ec50f1

Contents?: true

Size: 250 Bytes

Versions: 20

Compression:

Stored size: 250 Bytes

Contents

module CSL

  class Error < StandardError
    attr_reader :original

    def initialize(message, original = $!)
      @original = original
			super(message)
    end    
  end
  
	class ParseError < Error
	end

	class ValidationError < Error
	end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
csl-1.0.0.pre21 lib/csl/errors.rb
csl-1.0.0.pre20 lib/csl/errors.rb
csl-1.0.0.pre19 lib/csl/errors.rb
csl-1.0.0.pre18 lib/csl/errors.rb
csl-1.0.0.pre17 lib/csl/errors.rb
csl-1.0.0.pre16 lib/csl/errors.rb
csl-1.0.0.pre15 lib/csl/errors.rb
csl-1.0.0.pre14 lib/csl/errors.rb
csl-1.0.0.pre13 lib/csl/errors.rb
csl-1.0.0.pre12 lib/csl/errors.rb
csl-1.0.0.pre11 lib/csl/errors.rb
csl-1.0.0.pre10 lib/csl/errors.rb
csl-1.0.0.pre9 lib/csl/errors.rb
csl-1.0.0.pre8 lib/csl/errors.rb
csl-1.0.0.pre7 lib/csl/errors.rb
csl-1.0.0.pre6 lib/csl/errors.rb
csl-1.0.0.pre5 lib/csl/errors.rb
csl-1.0.0.pre4 lib/csl/errors.rb
csl-1.0.0.pre3 lib/csl/errors.rb
csl-1.0.0.pre2 lib/csl/errors.rb