core/resolveerrorsource
module
Functions
resolveErrorSources( context ) → Array<Editor | Context>internalmodule:core/resolveerrorsource~resolveErrorSourcesAnswers what an error came from, given the context it was thrown with.
Returns every editor the error can be attributed to, or the contexts when no editor claims it. The list is empty when no answer can be given. That is not necessarily a bug: it also happens for a context that is
null, omitted, or an object that shares nothing with any editor currently running.Parameters
context: unknown
Returns