Skip to content

F# exception missing important information about messages #27689

@pbiggar

Description

@pbiggar

In order to get a good message from an F# exception, we apparently need to do this:

exception SomeException of info: string with
  override this.Message = this.info

I learned this from dotnet/fsharp#3327, and could not find it mentioned in the F# exception docs.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions