BackendError now inherits from StandardError instead of Exception This allows the errors to be caught by 'naked' rescue blocks, and allows the AASM gem's error handling mechanism to properly handle BackendErrors, since it explicitly rescues StandardError.