Hi Lutz,
Thanks for the suggestion ... it seems that GET LAST ERROR STACK only works
when called from within an error handler method. I hadn't realised that.
Previously I was calling it from the method that was trying to create the
file.
Pat

On Thu, 9 Apr 2020 at 11:44, Epperlein, Lutz (agendo) via 4D_Tech <
[email protected]> wrote:

> Do you use an error handler with ON ERR CALL?
>
> I've just tested it and I get an error -120 Tried to access a file by
> using a pathname that specifies a non-existing directory.
> Or -54 Attempt to open locked file for writing.
>
> Maybe your error from the error stack comes from an older one in this
> process?
>
> Regards
> Lutz
>
>
> -----Ursprüngliche Nachricht-----
> Betreff: CREATE DOCUMENT erors
>
> Using v17:
>
> How can I find out exactly what the error is when CREATE DOCUMENT fails?
> EG: disk full, pathname invalid, document already exists and can't be
> deleted, etc.
> I tried calling GET LAST ERROR STACK and the error it returned was 39 "The
> set does not exist" which is clearly inappropriate.
>
> Pat
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************



-- 
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to