Location : Cleveland, OH
My Lotus developer friends are probably going to laugh at me now.
Did you know that all of the LotusScript error codes are in the Domino Designer Help? They are also in four *.lss files in your Domino directory on the server, lsxbeerr.lss, lsxuierr.lss, lsconst.lss, and lserr.lss.
Example contents of lsxbeerr.lss:
Public Const lsERR_NOTES_ERROR = 4000
Public Const lsERR_SYS_OUT_OF_MEMORY = 4001
Public Const lsERR_SYS_LOAD_OUT_OF_MEM = 4002
Public Const lsERR_SYS_FILE_NOT_FOUND = 4003
Public Const lsERR_SYS_DICT_NOT_ON_PATH = 4004
Public Const lsERR_NOTES_ERROR2 = 4005
Example contents of lsxuierr.lss:
Public Const lsERR_LSXUI_UNKNOWN_PROP = 4400
Public Const lsERR_LSXUI_INVALID_ARGS = 4401
Public Const lsERR_LSXUI_NO_WORKSPACE_WND = 4402
Public Const lsERR_LSXUI_NO_DATABASE_WND = 4403
Public Const lsERR_LSXUI_LSBE_DB_CREATE = 4404
Public Const lsERR_LSXUI_NO_DOCUMENT_WND = 4405
In Designer Help, I opened LotusScript/COM/OLE Classes - LotusScript Classes Coding Guidelines - Handling run-time errors. The option "File contents" shows you the contents of those four *.lss files.
What do those files define?
File Name/Description
LSERR.LSS - Error constants
LSXBEERR.LSS - Back-end object error constants
LSXUIERR.LSS - Front-end object error constants
LSCONST.LSS - Non-error constants
Link: Lotus Education On Demand: Notes Error Trapping in LotusScript
Did you know that all of the LotusScript error codes are in the Domino Designer Help? They are also in four *.lss files in your Domino directory on the server, lsxbeerr.lss, lsxuierr.lss, lsconst.lss, and lserr.lss.
Example contents of lsxbeerr.lss:
Public Const lsERR_NOTES_ERROR = 4000
Public Const lsERR_SYS_OUT_OF_MEMORY = 4001
Public Const lsERR_SYS_LOAD_OUT_OF_MEM = 4002
Public Const lsERR_SYS_FILE_NOT_FOUND = 4003
Public Const lsERR_SYS_DICT_NOT_ON_PATH = 4004
Public Const lsERR_NOTES_ERROR2 = 4005
Example contents of lsxuierr.lss:
Public Const lsERR_LSXUI_UNKNOWN_PROP = 4400
Public Const lsERR_LSXUI_INVALID_ARGS = 4401
Public Const lsERR_LSXUI_NO_WORKSPACE_WND = 4402
Public Const lsERR_LSXUI_NO_DATABASE_WND = 4403
Public Const lsERR_LSXUI_LSBE_DB_CREATE = 4404
Public Const lsERR_LSXUI_NO_DOCUMENT_WND = 4405
In Designer Help, I opened LotusScript/COM/OLE Classes - LotusScript Classes Coding Guidelines - Handling run-time errors. The option "File contents" shows you the contents of those four *.lss files.
What do those files define?
File Name/Description
LSERR.LSS - Error constants
LSXBEERR.LSS - Back-end object error constants
LSXUIERR.LSS - Front-end object error constants
LSCONST.LSS - Non-error constants
Link: Lotus Education On Demand: Notes Error Trapping in LotusScript
Comment posted by Don McNally05/12/2008 04:36:05 PM
Homepage: http://dmcnally.blogpsot.com
Haha!
Just kidding, my friend! I'll post an admin "find" sometime and you can laugh at me.
Comment posted by JYR05/12/2008 06:13:03 PM
Just kidding !!
Comment posted by Charles Robinson05/12/2008 08:01:57 PM
Homepage: http://cubert-codepoet.blogspot.com
I actually never knew about this.
Thanks for the heads up.
Powered By : Domino
BlogSphere V1.3.1
Join The WebLog Revolution at BlogSphere.net

















- 