style: fix linting issue
This commit is contained in:
parent
dbb363747d
commit
9a942c52c5
@ -4,7 +4,7 @@ export class UnauthorizedError extends Error {
|
||||
|
||||
constructor(code: string, error: { message: string }) {
|
||||
super(error.message)
|
||||
this.message = error.message
|
||||
this.name = 'UnauthorizedError'
|
||||
this.inner = error
|
||||
this.data = {
|
||||
message: this.message,
|
||||
|
Reference in New Issue
Block a user