Jano Svitok
1/21/2007 11:38:00 AM
On 1/20/07, Phlip <phlip2005@nogmailspam.com> wrote:
> Ruboids:
>
> I need to read a block of YAML and recover gracefully if it fails. The
> current loader apparently throws away all the representation it loaded at
> error time.
>
> Is there some way to get the representation loaded before the error
> happens?
Not tested idea: If the exception contains error position, try cutting
the string just before the error and retry... (althoug this won't be a
stable solution, it's more a hack)