@ -3,8 +3,7 @@
class TimeoutError extends Error {
constructor(message) {
super(message);
this.name = 'TimeoutError';
this.message = message;
this.name = this.constructor.name;
}