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 }) {
|
constructor(code: string, error: { message: string }) {
|
||||||
super(error.message)
|
super(error.message)
|
||||||
this.message = error.message
|
this.name = 'UnauthorizedError'
|
||||||
this.inner = error
|
this.inner = error
|
||||||
this.data = {
|
this.data = {
|
||||||
message: this.message,
|
message: this.message,
|
||||||
|
Reference in New Issue
Block a user