mirror of
https://github.com/swc-project/swc.git
synced 2025-01-02 10:37:56 +03:00
10 lines
162 B
TypeScript
10 lines
162 B
TypeScript
class MyError extends Error {
|
|
constructor(){
|
|
super("I'm in?");
|
|
}
|
|
}
|
|
function example() {
|
|
throw new MyError();
|
|
}
|
|
export { example as example };
|