toErrorString method

String toErrorString()

Implementation

String toErrorString() {
  return '${details != null ? '$details' : error.name} at path '
      '#root${path.map((p) => '["$p"]').join('')}'
      '';
}