Hi, I understand (I think :-) the use of Option/Box to avoid the common NPE. Also that map/for gives a nice way to conditionally do stuff with something that can be Empty.
But sometimes the Box just have to be full and if it isn't, this is a logic error that is better handled than silently ignored. So what is a good pattern for doing this? On a related note: Is there a way to (globally) catch exceptions/errors that shows up in a Lift app? I found http://wiki.liftweb.net/index.php/HowTo_use_error_pages but this doesn't seem up to date.... /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
