get path()

in packages/sdk/src/error.ts [9:19]


  get path(): string {
    return this.steps.reduce<string>((path, step) => {
      if (typeof step === 'string') {
        if (path) {
          return `${path}.${step}`;
        }
        return step;
      }
      return `${path}[${step}]`;
    }, '');
  }