Sha256: 3e895952dc089685abaae76e3a0871eb5d4959c57ae80d20ec8182242e598961

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 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
  TypeCastingUnsupportedError = Class.new(TypeCastingError)

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smart_types-0.2.0 lib/smart_core/types/errors.rb
smart_types-0.1.0 lib/smart_core/types/errors.rb