Skip to content

Commit

Permalink
fix resp error required field
Browse files Browse the repository at this point in the history
  • Loading branch information
peze committed Feb 18, 2025
1 parent 042410c commit cf2b3e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export class BaseError extends Error {

export class ResponseError extends BaseError {
code: string
statusCode: number
retryAfter: number
data: any
description: string
accessDeniedDetail: any
statusCode?: number
retryAfter?: number
data?: any
description?: string
accessDeniedDetail?: any

constructor(map: any) {
super(map);
Expand Down

0 comments on commit cf2b3e0

Please sign in to comment.