require_relative "runtime_error" module Hexx # An exception to be raised by the UseCase#validate! method. # # It is expected, that the object stores error messages in its errors # collection. # class UseCaseInvalid < RuntimeError private def default "Use case invalid" end end end