File: errors.rb

package info (click to toggle)
ruby-spreadsheet 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,964 kB
  • sloc: ruby: 6,943; makefile: 10
file content (11 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
module Spreadsheet
  # Custom errors raised by this gem, not errors from Excel
  module Errors
    BaseError           = Class.new(StandardError)

    # A codepage not stored in Spreadsheet::Internals::CODEPAGES
    UnknownCodepage     = Class.new(BaseError)
    # The encoding can be known, but not supported by Ruby
    UnsupportedEncoding = Class.new(BaseError)
  end
end