mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 15:56:40 +00:00
d6adfa189f
Signed-off-by: Theodor Gherzan <theodor@balena.io>
9 lines
192 B
TypeScript
9 lines
192 B
TypeScript
import TypedError = require('typed-error');
|
|
|
|
export default class ShortStackError extends TypedError {
|
|
constructor(err: Error | string = '') {
|
|
Error.stackTraceLimit = 1;
|
|
super(err);
|
|
}
|
|
}
|