You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the best approach? Should Key throw an exception or return null? An exception would need to be handled with try/catch by modules that use Key so that the application does not crash, but leaves the possibility for an error message. Returning null is easier (?) for a module to handle, maybe?
The text was updated successfully, but these errors were encountered:
@mradcliffe I think NULL is a good starting point at this juncture. The exception handling makes a ton of sense, but you are correct that it would need to be done within each individual module. NULL is controlled by Key. We could go as far as throw a watchdog message if no key is found. Thoughts?
What is the best approach? Should Key throw an exception or return null? An exception would need to be handled with try/catch by modules that use Key so that the application does not crash, but leaves the possibility for an error message. Returning null is easier (?) for a module to handle, maybe?
The text was updated successfully, but these errors were encountered: