File: errors.rb

package info (click to toggle)
ruby-spreadsheet 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 7,356 kB
  • ctags: 644
  • sloc: ruby: 6,941; 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