Exception: Slack::UserIsRestrictedError

Inherits:
APIError
  • Object
show all
Defined in:
lib/laziness/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeUserIsRestrictedError

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