diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-01 11:00:37 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-03-01 11:00:37 +0000 |
commit | 85601264dd5b7bf5403cbaf1a9c678dda7a45335 (patch) | |
tree | 7608961ebb9c672836dd2e3f03eb56920e7b4ef3 /lib/mattermost/client.rb | |
parent | 8dd097a91530e4b047c4b391f21047c7d29d310d (diff) | |
download | gitlab-ce-custom-empty-exception-class-cop.tar.gz |
Enabled and autocorrect the CustomErrorClass copcustom-empty-exception-class-cop
Diffstat (limited to 'lib/mattermost/client.rb')
-rw-r--r-- | lib/mattermost/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/client.rb b/lib/mattermost/client.rb index e55c0d6ac49..ad6df246091 100644 --- a/lib/mattermost/client.rb +++ b/lib/mattermost/client.rb @@ -1,5 +1,5 @@ module Mattermost - class ClientError < Mattermost::Error; end + ClientError = Class.new(Mattermost::Error) class Client attr_reader :user |