Skip to content

Commit

Permalink
refactor: async internal client request methods to TypeScript (#1156)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 authored May 24, 2023
1 parent b37aacf commit 23ad6e2
Show file tree
Hide file tree
Showing 10 changed files with 476 additions and 367 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"@types/lodash": "^4.14.194",
"@types/mime-types": "^2.1.1",
"@types/node": "^20.1.0",
"@types/through2": "^2.0.38",
"@types/xml": "^1.0.8",
"@types/xml2js": "^0.4.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
Expand Down
4 changes: 3 additions & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ export class InvalidXMLError extends ExtendableError {}
* S3Error is generated for errors returned from S3 server.
* see getErrorTransformer for details
*/
export class S3Error extends ExtendableError {}
export class S3Error extends ExtendableError {
code?: string
}

export class IsValidBucketNameError extends ExtendableError {}
Loading

0 comments on commit 23ad6e2

Please sign in to comment.