mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 15:56:40 +00:00
379730a9e1
Update typed-error from 2.0.0 to 3.2.1 Change-type: patch
9 lines
190 B
TypeScript
9 lines
190 B
TypeScript
import { TypedError } from 'typed-error';
|
|
|
|
export default class ShortStackError extends TypedError {
|
|
constructor(err: Error | string = '') {
|
|
Error.stackTraceLimit = 1;
|
|
super(err);
|
|
}
|
|
}
|