Sha256: 1ee9ff0ebc35ea75b0d426990ccfe0d4a0be88e71e22e563ad2cc7b39b791093

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

module Noticent
  class Error < StandardError; end
  class BadConfiguration < Error; end
  class InvalidPayload < Error; end
  class InvalidScope < Error; end
  class InvalidAlert < Error; end
  class NoCurrentUser < Error; end
  class ViewNotFound < Error; end

  class MissingConfiguration < Error
    def initialize
      super('Configuration for noticent missing. Do you have noticent initializer?')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
noticent-0.0.6 lib/noticent/errors.rb
noticent-0.0.5 lib/noticent/errors.rb
noticent-0.0.4 lib/noticent/errors.rb
noticent-0.0.3 lib/noticent/errors.rb
noticent-0.0.2 lib/noticent/errors.rb
noticent-0.0.1 lib/noticent/errors.rb
noticent-0.0.1.pre.pre lib/noticent/errors.rb