File: error.rb

package info (click to toggle)
ruby-simple-po-parser 1.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 224 kB
  • sloc: ruby: 646; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 215 bytes parent folder | download
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