diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-04 15:07:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-04 15:07:52 +0300 |
commit | c6c7437861bff9572747674095c4dfbdfbea4988 (patch) | |
tree | 237d1ed922193f19ae326923457344c082003788 /lib/gitlab/email | |
parent | d80f3cd75e700b6e62910865bfd36734644ffa89 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/email')
-rw-r--r-- | lib/gitlab/email/receiver.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/gitlab/email/receiver.rb b/lib/gitlab/email/receiver.rb index b7b9288517d..bf6c28b9f90 100644 --- a/lib/gitlab/email/receiver.rb +++ b/lib/gitlab/email/receiver.rb @@ -5,23 +5,6 @@ require_dependency 'gitlab/email/handler' # Inspired in great part by Discourse's Email::Receiver module Gitlab module Email - ProcessingError = Class.new(StandardError) - EmailUnparsableError = Class.new(ProcessingError) - SentNotificationNotFoundError = Class.new(ProcessingError) - ProjectNotFound = Class.new(ProcessingError) - EmptyEmailError = Class.new(ProcessingError) - AutoGeneratedEmailError = Class.new(ProcessingError) - UserNotFoundError = Class.new(ProcessingError) - UserBlockedError = Class.new(ProcessingError) - UserNotAuthorizedError = Class.new(ProcessingError) - NoteableNotFoundError = Class.new(ProcessingError) - InvalidRecordError = Class.new(ProcessingError) - InvalidNoteError = Class.new(InvalidRecordError) - InvalidIssueError = Class.new(InvalidRecordError) - InvalidMergeRequestError = Class.new(InvalidRecordError) - UnknownIncomingEmail = Class.new(ProcessingError) - InvalidAttachment = Class.new(ProcessingError) - class Receiver def initialize(raw) @raw = raw |