Skip to content

YamlException

Definition

Namespace: Corvus.Yaml
Assembly: Corvus.Text.Json.dll

Exception thrown when YAML parsing or conversion fails.

public class YamlException : Exception, ISerializable

Inheritance

ObjectExceptionYamlException

Implements

ISerializable

Constructors

Constructor Description
YamlException(...) Initializes a new instance of the YamlException class.

Properties

Property Type Description
Column int Gets the 1-based column number where the error occurred, or 0 if unknown.
Line int Gets the 1-based line number where the error occurred, or 0 if unknown.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue