mirror of
https://github.com/enso-org/enso.git
synced 2024-11-30 17:44:58 +03:00
11 lines
202 B
JavaScript
11 lines
202 B
JavaScript
class RustPanic extends Error {
|
|
constructor(message) {
|
|
super(message)
|
|
this.name = 'RustPanic'
|
|
}
|
|
}
|
|
|
|
export function new_panic_error(message) {
|
|
return new RustPanic(message)
|
|
}
|