diff options
Diffstat (limited to 'lib/gitlab/email/receiver.rb')
-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 |