Sha256: e9cb97fd4d830e8a562991235ec9e59500dfc60dd7173f2680e7d98487a46c48
Contents?: true
Size: 237 Bytes
Versions: 2
Compression:
Stored size: 237 Bytes
Contents
module LensProtocol class Error < StandardError end class ParsingError < Error def initialize msg = 'Parsing failed', line = 'N/A' super "#{msg}\n Line: #{line}" end end class ValidationError < Error end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lens_protocol-0.2.1 | lib/lens_protocol/errors.rb |
lens_protocol-0.2.0 | lib/lens_protocol/errors.rb |