Sha256: 0a1c68d1cb73bdb11ccca1df1375b8024560f83a480c33065dc69953f78e37d7

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

module Apidoco
  class FileParseError < StandardError
    attr_accessor :file, :message

    def initialize(file, message)
      self.file = file
      self.message = message
    end

    def info
      "Failed to parse #{file}, #{message}"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apidoco-1.6.4 lib/apidoco/file_parse_error.rb
apidoco-1.6.3 lib/apidoco/file_parse_error.rb
apidoco-1.6.2 lib/apidoco/file_parse_error.rb
apidoco-1.6.1 lib/apidoco/file_parse_error.rb