Libraries
»
activesupport
(7.1.4.1)
»
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.