Sha256: e5369f3de6ff450457c2747591758b6abc1da745d18a6b5d157d88948699ee6a
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
# frozen_string_literal: true module Zser # Base class of all Zser errors Error = Class.new(StandardError) # Generic parse error ParseError = Class.new(Error) # Data is not in the correct character encoding EncodingError = Class.new(ParseError) # Unexpected end of input EOFError = Class.new(ParseError) # Message is larger than our maximum configured size OversizeMessageError = Class.new(ParseError) # Nested message structure is too deep DepthError = Class.new(ParseError) # Parser is in the wrong state to perform the given task StateError = Class.new(ParseError) # Field repeated in message DuplicateFieldError = Class.new(ParseError) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zser-0.0.1 | lib/zser/exceptions.rb |