Module: SmartCore

Defined in:
lib/smart_core.rb,
lib/smart_core/errors.rb,
lib/smart_core/engine/version.rb

Overview

Since:

  • 0.1.0

Defined Under Namespace

Modules: Engine, Ext

Constant Summary collapse

Error =

Since:

  • 0.1.0

Class.new(::StandardError)
ArgumentError =

Since:

  • 0.1.0

Class.new(::ArgumentError)
NameError =

Since:

  • 0.3.0

Class.new(::NameError)
TypeError =

Since:

  • 0.5.0

Class.new(::TypeError)
FrozenError =

Since:

  • 0.2.0

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5.0')
  Class.new(::FrozenError)
else
  Class.new(::RuntimeError)
end