Sha256: 03e204e3b9602b6d64c6e05decd987c92043d41a9ea6856671e3a396b8d67f28

Contents?: true

Size: 612 Bytes

Versions: 5

Compression:

Stored size: 612 Bytes

Contents

# frozen_string_literal: true

module SmartCore::Types
  # @api public
  # @since 0.1.0
  Error = Class.new(SmartCore::Error)

  # @api public
  # @since 0.1.0
  ArgumentError = Class.new(SmartCore::ArgumentError)

  # @api public
  # @since 0.1.0
  NameError = Class.new(SmartCore::NameError)

  # @api public
  # @since 0.1.0
  TypeError = Class.new(SmartCore::TypeError)

  # @api public
  # @since 0.1.0
  TypeCastingError = Class.new(Error)

  # @api public
  # @since 0.1.0
  NoCheckerDefinitionError = Class.new(Error)

  # @api public
  # @since 0.1.0
  IncorrectTypeNameError = Class.new(NameError)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
smart_types-0.1.0.alpha6 lib/smart_core/types/errors.rb
smart_types-0.1.0.alpha5 lib/smart_core/types/errors.rb
smart_types-0.1.0.alpha4 lib/smart_core/types/errors.rb
smart_types-0.1.0.alpha3 lib/smart_core/types/errors.rb
smart_types-0.1.0.alpha2 lib/smart_core/types/errors.rb