Sha256: 39d068ca976121577a3c9a8e86f5b1bcbde51e99e532cc8df4f22240222f8879
Contents?: true
Size: 814 Bytes
Versions: 10
Compression:
Stored size: 814 Bytes
Contents
module IOStreams module Errors class Error < StandardError end class InvalidHeader < Error end class MissingHeader < Error end class UnknownFormat < Error end class TypeMismatch < Error end class CommunicationsFailure < Error end # When the specified delimiter is not found in the supplied stream / file class DelimiterNotFound < Error end # Fixed length line has the wrong length class InvalidLineLength < Error end class ValueTooLong < Error end class MalformedDataError < RuntimeError attr_reader :line_number def initialize(message, line_number) @line_number = line_number super("#{message} on line #{line_number}.") end end class InvalidLayout < Error end end end
Version data entries
10 entries across 10 versions & 1 rubygems