Class: Togglefy::AssignablesNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/togglefy/errors/assignables_not_found.rb

Overview

The AssignablesNotFound class represents an error raised when no assignables match the provided features and filters.

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ AssignablesNotFound

Initializes a new AssignablesNotFound error.

Parameters:

  • klass (Class)

    The class of the assignable.



10
11
12
# File 'lib/togglefy/errors/assignables_not_found.rb', line 10

def initialize(klass)
  super("No #{klass.name} found matching features and filters sent")
end