Hi all,
how can I catch an existence_error ?
I'm just trying to open a file stream and handle the possibility that the file doesn't exists.
So when I do open( ... ) and the file doesn't exists, it just throws a existance_error.
I tried with the catch/3 predicate...but I don't know what to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.