Sha256: f47fee0cdcf6ab85142977a404834f08974c76dc2a35a2562c27d3e4fd3abd1c

Contents?: true

Size: 294 Bytes

Versions: 7

Compression:

Stored size: 294 Bytes

Contents

require 'sfrp/error'

module SFRP
  module Input
    class ParseError < CompileError
      def initialize(message)
        @message = message
      end

      def message
        "Syntax error. The raw error message from Parslet is as follows:\n" +
        @message
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sfrp-1.5.2 lib/sfrp/input/exception.rb
sfrp-1.5.1 lib/sfrp/input/exception.rb
sfrp-1.5.0 lib/sfrp/input/exception.rb
sfrp-1.4.0 lib/sfrp/input/exception.rb
sfrp-1.2.1 lib/sfrp/input/exception.rb
sfrp-1.2.0 lib/sfrp/input/exception.rb
sfrp-1.1.0 lib/sfrp/input/exception.rb