123456789_123456789_123456789_123456789_123456789_

Exception: Psych::AliasesNotEnabled

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BadAlias, Exception, RuntimeError
Instance Chain:
self, BadAlias, Exception, RuntimeError
Inherits: Psych::BadAlias
Defined in: ext/psych/lib/psych/exception.rb

Overview

Subclasses BadAlias for backwards compatibility

Class Method Summary

Constructor Details

.newAliasesNotEnabled

[ GitHub ]

  
# File 'ext/psych/lib/psych/exception.rb', line 11

def initialize
  super "Alias parsing was not enabled. To enable it, pass `aliases: true` to `Psych::load` or `Psych::safe_load`."
end