Skip to content

Get the exception that caused the evaluation to fail #161

@forki

Description

@forki

Consider the evalExpression function as describe at http://fsharp.github.io/FSharp.Compiler.Service/interactive.html

no try to evaluate a failwith expression:

evalExpression "failwith \"inception\" "

this causes the session to fail (which is expected). But how can I get the raised exception?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions