Sha256: 0927fbd0941bc2df37877705c71e8370c594e24f486db1009508f0b01b6dfd17

Contents?: true

Size: 257 Bytes

Versions: 24

Compression:

Stored size: 257 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

24 entries across 24 versions & 1 rubygems

Version Path
csl-2.0.0 lib/csl/errors.rb
csl-1.6.0 lib/csl/errors.rb
csl-1.5.2 lib/csl/errors.rb
csl-1.5.1 lib/csl/errors.rb
csl-1.5.0 lib/csl/errors.rb
csl-1.4.5 lib/csl/errors.rb
csl-1.4.4 lib/csl/errors.rb
csl-1.4.3 lib/csl/errors.rb
csl-1.4.2 lib/csl/errors.rb
csl-1.4.1 lib/csl/errors.rb
csl-1.4.0 lib/csl/errors.rb
csl-1.3.2 lib/csl/errors.rb
csl-1.3.1 lib/csl/errors.rb
csl-1.3.0 lib/csl/errors.rb
csl-1.2.3 lib/csl/errors.rb
csl-1.2.2 lib/csl/errors.rb
csl-1.2.1 lib/csl/errors.rb
csl-1.2.0 lib/csl/errors.rb
csl-1.1.0 lib/csl/errors.rb
csl-1.0.2 lib/csl/errors.rb