Sha256: fff44e70c30cf7d80a11519af3ed9ddb6602632e4cd4b354635c588b023dbb13

Contents?: true

Size: 994 Bytes

Versions: 6

Compression:

Stored size: 994 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.3.0
  TypeDefinitionError = Class.new(ArgumentError)

  # @api public
  # @since 0.3.0
  IncorrectRuntimeAttributesError = Class.new(TypeDefinitionError)

  # @api public
  # @since 0.3.0
  RuntimeAttriburtesUnsupportedError = Class.new(TypeDefinitionError)

  # @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

6 entries across 6 versions & 1 rubygems

Version Path
smart_types-0.8.0 lib/smart_core/types/errors.rb
smart_types-0.7.1 lib/smart_core/types/errors.rb
smart_types-0.7.0 lib/smart_core/types/errors.rb
smart_types-0.6.0 lib/smart_core/types/errors.rb
smart_types-0.4.0 lib/smart_core/types/errors.rb
smart_types-0.3.0 lib/smart_core/types/errors.rb