Table of Contents

Class SkillParseException

Namespace
LMKit.Agents.Skills
Assembly
LM-Kit.NET.dll

The exception that is thrown when a SKILL.md file cannot be parsed.

public class SkillParseException : Exception, ISerializable
Inheritance
SkillParseException
Implements
Inherited Members

Remarks

This exception is thrown by SkillParser when:

  • The SKILL.md file is missing or cannot be read.
  • The YAML frontmatter is malformed or missing.
  • Required fields (name, description) are missing.
  • Field values violate specification constraints.

Constructors

SkillParseException()

Initializes a new instance of the SkillParseException class.

SkillParseException(string)

Initializes a new instance of the SkillParseException class with the specified error message.

SkillParseException(string, Exception)

Initializes a new instance of the SkillParseException class with the specified error message and inner exception.

SkillParseException(string, string)

Initializes a new instance of the SkillParseException class with the specified error message and skill path.

SkillParseException(string, string, Exception)

Initializes a new instance of the SkillParseException class with the specified error message, skill path, and inner exception.

SkillParseException(string, string, int)

Initializes a new instance of the SkillParseException class with the specified error message, skill path, and line number.

Properties

LineNumber

Gets the line number in SKILL.md where the error occurred, if applicable.

SkillPath

Gets the path to the skill directory where the error occurred.