Sha256: d704271ef33aeab393e7e72ff93e0adb17a49b6fa52dda76f964978bc103b5f9

Contents?: true

Size: 759 Bytes

Versions: 11

Compression:

Stored size: 759 Bytes

Contents

module Polars
  # @private
  # Base class for all Polars errors.
  class Error < StandardError; 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

11 entries across 11 versions & 1 rubygems

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