YamlException Class
Base exception that is thrown when the a problem occurs in the Meziantou.Framework.Yaml library.
public class YamlException : Exception- Inheritance
ExceptionYamlException
Constructors
| Name | Description |
|---|---|
| YamlException() | Initializes a new instance of the YamlException class. |
| YamlException(Mark, Mark, string) | Initializes a new instance of the YamlException class. |
| YamlException(Mark, Mark, string, Exception?) | Initializes a new instance of the YamlException class. |
| YamlException(string) | Initializes a new instance of the YamlException class. |
| YamlException(string?, Mark, Mark, string) | Initializes a new instance of the YamlException class. |
| YamlException(string?, Mark, Mark, string, Exception?) | Initializes a new instance of the YamlException class. |
| YamlException(string, Exception) | Initializes a new instance of the YamlException class. |
YamlException overloads
YamlException()
YamlException.csInitializes a new instance of the YamlException class.
public YamlException()YamlException(Mark, Mark, string)
YamlException.csYamlException(Mark, Mark, string, Exception?)
YamlException.csInitializes a new instance of the YamlException class.
Parameters
startMarkendMarkmessagestringinnerExceptionException?
YamlException(string)
YamlException.csInitializes a new instance of the YamlException class.
public YamlException(string message)Parameters
messagestring- The message.
YamlException(string?, Mark, Mark, string)
YamlException.csYamlException(string?, Mark, Mark, string, Exception?)
YamlException.csYamlException(string, Exception)
YamlException.csInitializes a new instance of the YamlException class.
Properties
| Name | Description |
|---|---|
| End | Gets the position in the input stream where the event that originated the exception ends. |
| SourceName | Gets the optional source name associated with the YAML payload (for example, a file path). |
| Start | Gets the position in the input stream where the event that originated the exception starts. |