Sha256: fe15b114d248c01b933f9760f6858ae787c53e5eb4b0741661f58757918279de

Contents?: true

Size: 265 Bytes

Versions: 17

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: false
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

17 entries across 17 versions & 2 rubygems

Version Path
psych-3.0.0.beta2-java lib/psych/exception.rb
psych-3.0.0.beta2 lib/psych/exception.rb
psych-2.2.4-java lib/psych/exception.rb
psych-2.2.4 lib/psych/exception.rb
psych-2.2.3-java lib/psych/exception.rb
psych-2.2.3 lib/psych/exception.rb
ruby-compiler-0.1.1 vendor/ruby/ext/psych/lib/psych/exception.rb
psych-2.2.2-java lib/psych/exception.rb
psych-2.2.2 lib/psych/exception.rb
psych-2.2.1-java lib/psych/exception.rb
psych-2.2.1 lib/psych/exception.rb
psych-2.2.0-java lib/psych/exception.rb
psych-2.2.0 lib/psych/exception.rb
psych-2.1.1-java lib/psych/exception.rb
psych-2.1.1 lib/psych/exception.rb
psych-2.1.0-java lib/psych/exception.rb
psych-2.1.0 lib/psych/exception.rb