Class SkillExportRefusedError

Thrown by writeSkillFile and exportToolAsSkillPack when something below the output directory is not written through: a symbolic link at the tool's folder or at one of its files, a second name (a hard link) for one of its files, or anything but a regular file at a file's place. Nothing is written.

Hierarchy

  • Error
    • SkillExportRefusedError

Constructors

Properties

Constructors

Properties

code: "SKILL_EXPORT_REFUSED" = 'SKILL_EXPORT_REFUSED'

A stable code for callers that branch on the kind of failure.

problem: OpenRefusal

link for a symbolic link or a second name, special for anything but a regular file.

target: string

The absolute path of the folder or file refused.