Sha256: 51cacaad24065f810205967b03648e6f5c868999090ad5199e2c69c647ceb682
Contents?: true
Size: 705 Bytes
Versions: 1
Compression:
Stored size: 705 Bytes
Contents
# frozen_string_literal: true module Veriform # Base class of all Veriform 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 TruncatedMessageError = 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 |
---|---|
veriform-0.0.0 | lib/veriform/exceptions.rb |