Sha256: ee63c132e79d79bd850d0ca54afd88198ac07ba755d199047a401b789c85cf98

Contents?: true

Size: 926 Bytes

Versions: 6

Compression:

Stored size: 926 Bytes

Contents

module Polars
  # @private
  # Base class for all Polars errors.
  class Error < StandardError; end

  # @private
  # Exception raised when an operation is not allowed (or possible) against a given object or data structure.
  class InvalidOperationError < Error; end

  # @private
  # Exception raised when an unsupported testing assert is made.
  class InvalidAssert < Error; end

  # @private
  # Exception raised when the number of returned rows does not match expectation.
  class RowsException < Error; end

  # @private
  # Exception raised when no rows are returned, but at least one row is expected.
  class NoRowsReturned < RowsException; end

  # @private
  # Exception raised when more rows than expected are returned.
  class TooManyRowsReturned < RowsException; end

  # @private
  class AssertionError < Error; end

  # @private
  class Todo < Error
    def message
      "not implemented yet"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
polars-df-0.11.0-x86_64-linux lib/polars/exceptions.rb
polars-df-0.11.0-x86_64-linux-musl lib/polars/exceptions.rb
polars-df-0.11.0-x86_64-darwin lib/polars/exceptions.rb
polars-df-0.11.0-arm64-darwin lib/polars/exceptions.rb
polars-df-0.11.0-aarch64-linux lib/polars/exceptions.rb
polars-df-0.11.0 lib/polars/exceptions.rb