Libraries
»
activesupport
(7.2.1.2)
»
Index (S)
»
Enumerable
»
SoleItemExpectedError
Exception: Enumerable::SoleItemExpectedError
Inherits:
StandardError
Object
StandardError
Enumerable::SoleItemExpectedError
show all
Defined in:
lib/active_support/core_ext/enumerable.rb
Overview
Error generated by
sole
when called on an enumerable that doesn’t have exactly one item.