YamlException Constructors
Definition
Namespace: Corvus.Text.Json.Yaml
Assembly: Corvus.Text.Json.dll
Overloads
YamlException(string, int, int)
Initializes a new instance of the YamlException class.
public YamlException(string message, int line, int column)
Parameters
| Name |
Type |
Description |
message |
string |
The error message. |
line |
int |
The 1-based line number where the error occurred. |
column |
int |
The 1-based column number where the error occurred. |
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
YamlException(string, int, int, Exception)
Initializes a new instance of the YamlException class.
public YamlException(string message, int line, int column, Exception innerException)
Parameters
| Name |
Type |
Description |
message |
string |
The error message. |
line |
int |
The 1-based line number where the error occurred. |
column |
int |
The 1-based column number where the error occurred. |
innerException |
Exception |
The inner exception. |
Applies To
| Product |
Versions |
| .NET |
9, 10 |
| .NET Standard |
2.0, 2.1 |
YamlException(string)
Initializes a new instance of the YamlException class.
public YamlException(string message)
Parameters
| Name |
Type |
Description |
message |
string |
The error message. |
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