Sha256: ccb24c7e9e5e7e9e3462d8bd867c38143ca286298b3c073f51075e4ad07d7fc7

Contents?: true

Size: 361 Bytes

Versions: 20

Compression:

Stored size: 361 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module DearInventory
  class NotPaginatedError < Error
    extend T::Sig

    sig do
      params(
        message: T.nilable(String),
        uri: String
      ).void
    end
    def initialize(message = nil, uri:)
      message ||= "The endpoint (#{uri}) is not paginated"
      super(message)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-1.3.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-1.2.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-1.1.1 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-1.1.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-1.0.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.7.5 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.7.4 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.7.3 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.7.2 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.7.1 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.7.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.6.3 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.6.2 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.6.1 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.6.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.5.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.4.1 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.4.0 lib/dear_inventory/errors/not_paginated.rb
dear_inventory-0.3.0 lib/dear_inventory/errors/not_paginated.rb