Exception: Slack::UserIsRestrictedError
- Defined in:
- lib/laziness/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ UserIsRestrictedError
constructor
A new instance of UserIsRestrictedError.
Constructor Details
#initialize ⇒ UserIsRestrictedError
Returns a new instance of UserIsRestrictedError.
51 52 53 |
# File 'lib/laziness/errors.rb', line 51 def initialize super "This method cannot be called by a restricted user or single channel guest." end |