Exception: SorbetOperation::Failure

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sorbet_operation/failure.rb

Overview

Exception class used to indicate that an operation failed.

Raise this exception (or a subclass of it) from an operation’s Operation#execute method to indicate that the operation failed.

If you need to pass additional information about the failure, you can subclass this exception and add any additional attributes you need.