Class: WorkItems::Callbacks::Base

Inherits:
Issuable::Callbacks::Base show all
Defined in:
app/services/work_items/callbacks/base.rb

Direct Known Subclasses

AwardEmoji

Instance Method Summary collapse

Methods inherited from Issuable::Callbacks::Base

#after_initialize, #after_save_commit, #after_update_commit, #before_update, #initialize

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from Issuable::Callbacks::Base

Instance Method Details

#raise_error(message) ⇒ Object



8
9
10
# File 'app/services/work_items/callbacks/base.rb', line 8

def raise_error(message)
  raise ::WorkItems::Widgets::BaseService::WidgetError, message
end