Skip to content

Commit

Permalink
chore(databaseerror): removed extra properties
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Apr 6, 2023
1 parent 67f3696 commit 1f128d8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/errors/DatabaseError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import { BaseIsomerError } from "./BaseError"

export default class DatabaseError extends BaseIsomerError {
constructor(message = "Unable to retrieve data from database") {
super()
Error.captureStackTrace(this, this.constructor)
this.name = this.constructor.name
this.message = message
super(500, message)
}
}

0 comments on commit 1f128d8

Please sign in to comment.