class Async::Stop::Cause
def self.for(message = "Task was stopped")
@parameter message [String] The error message.
Create a new cause of the stop operation, with the given message.
def self.for(message = "Task was stopped") instance = self.new(message) instance.set_backtrace(self.backtrace) return instance end