AliasException constructor

AliasException(
  1. Iterable<Object?> path,
  2. YamlNode anchor
)

Implementation

AliasException(this.path, this.anchor)
    : super('Encountered an alias node along $path! '
          'Alias nodes are nodes that refer to a previously serialized '
          'nodes, and are denoted by either the "*" or the "&" indicators in '
          'the original YAML. As the resulting behavior of mutations on '
          'these nodes is not well-defined, the operation will not be '
          'supported by this library.\n\n'
          '${anchor.span.message('The alias was first defined here.')}');