Exception: Rma::ReplacementOrderError
- Inherits:
-
StandardError
- Object
- StandardError
- Rma::ReplacementOrderError
- Defined in:
- app/models/rma.rb
Overview
Raised by +create_replacement_order+ for expected, user-facing failure
cases (e.g. the returned item is missing from the customer's catalog).
Controllers can rescue this narrowly instead of catching +RuntimeError+.