Repository navigation
What am I doing wrong here with my errorHandler? #511
Answered
by
johanalkstal
johanalkstal
asked this question in
Q&A
|
I'm trying to learn Giraffe and am hitting a roadblock setting up a basic app. I have this And at From what I can gather from reading the docs and the source code comments, Any help is much appreciated! |
Answered by
johanalkstal
Apr 30, 2022
Replies: 1 comment
|
The answer is to change to this,
I don't know why it wasn't possible to just use |
0 replies
Answer selected by
johanalkstal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer is to change to this,
let errorHandler (ex : exn) (logger : ILogger)exnis an abbreviation for the CLI typeSystem.Exception.I don't know why it wasn't possible to just use
System.Exceptiondirectly but I'm sure there's a good reason for that.