requireErrorAndStackTrace property
ErrorAndStackTrace
get
requireErrorAndStackTrace
Returns error and stack trace if kind is NotificationKind.error, otherwise throws a TypeError error.
Implementation
ErrorAndStackTrace get requireErrorAndStackTrace =>
(this as ErrorNotification).errorAndStackTrace;