A SKILL.md frontmatter block that could not be read.
reason is one of:
:missing- the file does not begin with a---delimited block.:unsupported- valid YAML outside the subsetSnodo.Skills.Frontmatterreads, such as a block scalar, an anchor, or a flow mapping. A:frontmatter_parserthat handles full YAML reads it.:invalid- the block is not valid YAML, or has a duplicate key.:too_large- the block is over a limit of the built-in subset: more than 1,048,576 bytes, or a number with more than 1,000 digits.:not_object- the block, or the configured parser's result, is not a JSON object with string keys.:parser- the configured:frontmatter_parserreturned an error.
line is the line of the file the problem is on, when known.
Summary
Types
@type reason() ::
:missing | :unsupported | :invalid | :too_large | :not_object | :parser
@type t() :: %Snodo.Skills.Frontmatter.Error{ __exception__: term(), line: pos_integer() | nil, message: String.t(), reason: reason() }