Sha256: db76791ae7d737991f64c3bda618c2b77ba64319144aa555322d3ba8a4a9d2c4
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true module SmartCore # @api public # @since 0.1.0 Error = Class.new(::StandardError) # @api public # @since 0.1.0 ArgumentError = Class.new(::ArgumentError) # @api public # @since 0.2.0 FrozenError = begin # rubocop:disable Naming/ConstantName # :nocov: if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5.0') Class.new(::FrozenError) else Class.new(::RuntimeError) end # :nocov: end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smart_engine-0.2.0 | lib/smart_core/errors.rb |