[REBOL] Re: Newbie needs help with Services
From: kpeters-vu:ware at: 15-Nov-2005 14:34
Volker ~
I guess we have to agree to disagree then:
For instance, your 'attempt solution' fails at
multiple results for multiple service requests ...
[
ok [time 25-Mar-2005/12:08:12-8:00]
ok [info "Default REBOL Service"]
fail [file/put not-allowed]
fail [file/get not-exists]
]
And no, I don't believe the fix is to break the code
above down into 4 single requests and wrap them in attempts.
Besides, to me it's just plain wrong - or would you accept a
SQL client library that coughed every time it received an empty
result set from the server?
These things are not what I would consider
errors to be thrown - they are plain expectable results.
My 0.02
Kai
--
Why? if i dont miss something, thats like missing files, bad data
format etc is handled too? it throws an error, and if you dont like
it, use attempt[read something]
--
-Volker