Skip to content

Commit e1c6b9b

Browse files
fix: cleanup UserError
1 parent 9c446b4 commit e1c6b9b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/shared/config-manager/src/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ type ClearIntervalInterface = (intervalTimeout: any) => void
1212

1313
type SetConfigBuffer = (sdkKey: string, projectConfig: string) => void
1414

15-
export class UserError extends Error {
16-
constructor(error: Error | string) {
17-
super(error instanceof Error ? error.message : error)
18-
this.name = 'UserError'
19-
this.stack = error instanceof Error ? error.stack : undefined
20-
}
21-
}
22-
2315
export class EnvironmentConfigManager {
2416
private readonly logger: DVCLogger
2517
private readonly sdkKey: string

0 commit comments

Comments
 (0)