Sha256: 472e6ec264691042459e17d35190f161e9a623dfb25ddfa73667eccd5ba380ab

Contents?: true

Size: 264 Bytes

Versions: 59

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true
module Psych
  class Exception < RuntimeError
  end

  class BadAlias < Exception
  end

  class DisallowedClass < Exception
    def initialize klass_name
      super "Tried to load unspecified class: #{klass_name}"
    end
  end
end

Version data entries

59 entries across 59 versions & 7 rubygems

Version Path
psych-3.0.3.pre2-x86-mingw32 lib/psych/exception.rb
psych-3.0.3.pre2-x64-mingw32 lib/psych/exception.rb
psych-3.0.3.pre2-java lib/psych/exception.rb
psych-3.0.3.pre2 lib/psych/exception.rb
psych-3.0.3.pre1 lib/psych/exception.rb
psych-3.0.3.pre1-java lib/psych/exception.rb
psych-3.0.2-x86-mingw32 lib/psych/exception.rb
psych-3.0.2-x64-mingw32 lib/psych/exception.rb
psych-3.0.2-java lib/psych/exception.rb
psych-3.0.2 lib/psych/exception.rb
psych-3.0.0.beta4-java lib/psych/exception.rb
psych-3.0.0.beta4 lib/psych/exception.rb
psych-with-location-3.0.0.beta3 lib/psych/exception.rb
psych-3.0.0.beta3-x86-mingw32 lib/psych/exception.rb
psych-3.0.0.beta3-x64-mingw32 lib/psych/exception.rb
psych-3.0.0.beta3-java lib/psych/exception.rb
psych-3.0.0.beta3 lib/psych/exception.rb
psych-3.0.0.beta2-x64-mingw32 lib/psych/exception.rb
psych-3.0.0.beta2-x86-mingw32 lib/psych/exception.rb