Exception: Order::ItemNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
app/models/order.rb

Overview

Helper class scoped to Order.

Declared bare rather than as class Order::ItemNotFound: the compact form
inside class Order reads to Sorbet as a fresh Order::Order namespace,
which then shadows the outer one for the rest of the file and made every
later Order::CONSTANT reference unresolvable. Identical at runtime.