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-1.0.1 lib/csl/errors.rb
csl-1.0.0 lib/csl/errors.rb
csl-1.0.0.pre23 lib/csl/errors.rb
csl-1.0.0.pre22 lib/csl/errors.rb