Sha256: f6c4e178112d0b9cb4e363417dcad3055d38530bdbcd55c5b34eff8ca0244c43

Contents?: true

Size: 472 Bytes

Versions: 4

Compression:

Stored size: 472 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 schema
    InvalidConfiguration = Class.new(BaseError)

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
waterdrop-1.0.1 lib/water_drop/errors.rb
waterdrop-1.0.0 lib/water_drop/errors.rb
waterdrop-1.0.0.alpha2 lib/water_drop/errors.rb
waterdrop-1.0.0.alpha1 lib/water_drop/errors.rb