Sha256: af8e27332dcad10d7b03f922f65974350072650629bcf62f2ff5600a52043d59

Contents?: true

Size: 609 Bytes

Versions: 11

Compression:

Stored size: 609 Bytes

Contents

# frozen_string_literal: true

module WaterDrop
  # Namespace used to encapsulate all the internal errors of WaterDrop
  module Errors
    # Base class for all the WaterDrop internal errors
    BaseError = Class.new(StandardError)

    # Raised when configuration doesn't match with validation contract
    InvalidConfiguration = Class.new(BaseError)

    # Raised when we try to send message with invalid options
    InvalidMessageOptions = Class.new(BaseError)

    # Raised when want to hook up to an event that is not registered and supported
    UnregisteredMonitorEvent = Class.new(BaseError)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
waterdrop-1.4.4 lib/water_drop/errors.rb
waterdrop-1.4.3 lib/water_drop/errors.rb
waterdrop-1.4.2 lib/water_drop/errors.rb
waterdrop-1.4.1 lib/water_drop/errors.rb
waterdrop-1.4.0 lib/water_drop/errors.rb
waterdrop-1.3.4 lib/water_drop/errors.rb
waterdrop-1.3.3 lib/water_drop/errors.rb
waterdrop-1.3.2 lib/water_drop/errors.rb
waterdrop-1.3.1 lib/water_drop/errors.rb
waterdrop-1.3.0 lib/water_drop/errors.rb
waterdrop-1.3.0.rc1 lib/water_drop/errors.rb