The YamlException class overrides the ToString method so that it only displays parsing error of the exception. Typically, in such cases, exceptions also include the exception class name and the stack trace. This change makes debugging more challenging, especially if the developer is unaware that the ToString method’s behavior is non-standard.