From 8280a21a23d44aa90177e2bc041d0b8dc8556f4b Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 12 Jun 2017 03:37:11 -0400 Subject: Import Upstream version 2.7.1 --- lib/roo/errors.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/roo/errors.rb (limited to 'lib/roo/errors.rb') diff --git a/lib/roo/errors.rb b/lib/roo/errors.rb new file mode 100644 index 0000000..9a736b8 --- /dev/null +++ b/lib/roo/errors.rb @@ -0,0 +1,11 @@ +module Roo + # A base error class for Roo. Most errors thrown by Roo should inherit from + # this class. + class Error < StandardError; end + + # Raised when Roo cannot find a header row that matches the given column + # name(s). + class HeaderRowNotFoundError < Error; end + + class FileNotFound < Error; end +end -- cgit v1.2.3