Sha256: d84f7922d5eaa98daa3c16fe6c3a4e03382dd4da4c1e10a521aa4cbe783ac352

Contents?: true

Size: 848 Bytes

Versions: 1

Compression:

Stored size: 848 Bytes

Contents

# frozen_string_literal: true

module Stenotype
  #
  # A namespace for holding library-level exceptions.
  #
  module Exceptions
    #
    # This exception is being raised in case an unsupported mode
    # for Google Cloud is specified.
    #
    class GoogleCloudUnsupportedMode < StandardError; end

    #
    # This exception is being raised upon unsuccessful publishing of an event.
    #
    class MessageNotPublished < StandardError; end

    #
    # This exception is being raised in case no targets are
    # specified {Stenotype::Configuration}.
    #
    class NoTargetsSpecified < StandardError; end

    #
    # This exception is being raised upon using a context handler which
    # has never been registered in known handlers in {Stenotype::ContextHandlers::Collection}.
    #
    class UnknownHandler < StandardError; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stenotype-0.1.0 lib/stenotype/exceptions.rb