logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Q&A
:
Recommended way to throw errors from functions
: One Message
Begin main content
Forum OpenACS Q&A: Catching errors
Search:
Back to OpenACS Q&A
3
:
Catching errors
(response to
1
)
Posted by
David Walker
on
01/22/03 04:47 AM
This one gives you a nice error with all the information about what file/function the error is in.
if {[catch { error "some error" } ] } {
variable errorInfo
ns_log error $errorInfo
}
Back to OpenACS Q&A