MermaidParseException Class
The exception thrown when a Mermaid text is not valid.
public sealed class MermaidParseException : Exception- Inheritance
ExceptionMermaidParseException
Constructors
| Name | Description |
|---|---|
| MermaidParseException() | Initializes a new instance of the MermaidParseException class. |
| MermaidParseException(MermaidParseError) | Initializes a new instance of the MermaidParseException class. |
| MermaidParseException(string) | Initializes a new instance of the MermaidParseException class. |
| MermaidParseException(string, Exception?) | Initializes a new instance of the MermaidParseException class. |
MermaidParseException overloads
MermaidParseException()
MermaidParseException.csInitializes a new instance of the MermaidParseException class.
public MermaidParseException()MermaidParseException(MermaidParseError)
MermaidParseException.csInitializes a new instance of the MermaidParseException class.
public MermaidParseException(MermaidParseError error)Parameters
errorMermaidParseError- The error.
MermaidParseException(string)
MermaidParseException.csInitializes a new instance of the MermaidParseException class.
public MermaidParseException(string message)Parameters
messagestring- The description of the error.
MermaidParseException(string, Exception?)
MermaidParseException.csInitializes a new instance of the MermaidParseException class.
Parameters
messagestring- The description of the error.
innerExceptionException?- The exception that caused this one.
Properties
| Name | Description |
|---|---|
| Error | Gets the error, with its position. |