Exception: DearInventory::NotPaginatedError

Inherits:
Error
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dear_inventory/errors/not_paginated.rb

Instance Attribute Summary

Attributes inherited from Error

#message

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, uri:) ⇒ NotPaginatedError

Returns a new instance of NotPaginatedError.



14
15
16
17
# File 'lib/dear_inventory/errors/not_paginated.rb', line 14

def initialize(message = nil, uri:)
  message ||= "The endpoint (#{uri}) is not paginated"
  super(message)
end