class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError - Documentation for Ruby 3.3

# class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError

### Public Class Methods

new(name:, stack:) click to toggle source
Calls superclass method `Exception::new`

    # File lib/rubygems/safe_marshal/visitors/to_ruby.rb, line 395
    def initialize(name:, stack:)
      @name = name
      @stack = stack
      super "Attempting to load unpermitted class #{name.inspect} @ #{stack.join "."}"
    end