File: error.rb

package info (click to toggle)
ruby-simple-po-parser 1.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236 kB
  • sloc: ruby: 655; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# encoding: utf-8

module SimplePoParser
	class ParserError < StandardError
	end

	class PoSyntaxError < ParserError
		@msg = ""
		def initialize(msg="Invalid po syntax")
			@msg = msg
			super(msg)
		end

	end
end