I'm starting work with nodejs addons using Nan and am reading about MaybeLocal.
The docs say "If an API method returns a MaybeLocal<>, the API method can potentially fail either because an exception is thrown, or because an exception is pending, e.g. because a previous API call threw an exception that hasn't been caught yet, or because a TerminateExecution exception was thrown. In that case, an empty MaybeLocal is returned."
Is this roughly the equivalent of returning a null pointer but with a simple class that can detect that?