Sha256: b75564bf6a46c666b8723725b30f9b96494a0ae4410f374168625a462c0858be
Contents?: true
Size: 532 Bytes
Versions: 5
Compression:
Stored size: 532 Bytes
Contents
module Fu # An exception raised by Fu code. class Error < StandardError # The line of the template on which the error occurred. # # @return [Fixnum] attr_reader :position # @param message [String] The error message # @param line [Fixnum] See \{#line} def initialize(message = nil, position = nil) super(message) @position = position end end # SyntaxError is the type of exception raised when Fu encounters an # ill-formatted document. class SyntaxError < Fu::Error; end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fu-0.1.4 | lib/fu/error.rb |
fu-0.1.3 | lib/fu/error.rb |
fu-0.1.1 | lib/fu/error.rb |
fu-0.0.2 | lib/fu/error.rb |
fu-0.0.1 | lib/fu/error.rb |