swc_common::errorsStatic HANDLER
source pub static HANDLER: ScopedKey<Handler>
Expand description
Used for error reporting in transform.
This should be only used for errors from the api which does not returning errors.
e.g.
parser
should not use this.
transforms
should use this to report error, as it does not return Result.
See Handler for actual usage examples.