Sha256: d1a4ce7751879cac0dccf9f5673c3edf2449063139fe9fa162d587f03457f53d

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

module ErbLatex

    # Encapsolates an error that occurs while processing a latex template
    class LatexError < RuntimeError

        # @attribute [r] log
        #   @return the log from the xelatex run
        attr_reader :log

        def initialize( msg, log )
            super(msg)
            @log = log
        end

    end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
erb_latex-0.2.0 lib/erb_latex/errors.rb
erb_latex-0.0.1 lib/erb_latex/errors.rb