Exception: Servus::Extensions::Lazily::Errors::NotFoundError
- Inherits:
-
LazilyError
- Object
- StandardError
- LazilyError
- Servus::Extensions::Lazily::Errors::NotFoundError
- Defined in:
- lib/servus/extensions/lazily/errors.rb
Overview
Raised when a lazily-resolved record reference is nil.
This occurs when a service declares lazily :user, finds: User but receives user: nil. A nil reference is always a bug at the call site.