expired-error. ( obj -- )


Vocabulary
debugger

Error description
Thrown by alien-address and alien-invoke if an alien object passed in as a parameter has expired. Alien objects expire if they are saved an image which is subsequently loaded; this prevents a certain class of programming errors, usually attempts to use uninitialized objects, since holding a C address is meaningless between sessions.

Notes
You can check if an alien object has expired by calling expired?.

Definition


: expired-error. ( obj -- )
"Object did not survive image save/load: " write third . ;