-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(blob): provide custom errors for expired client tokens and pathna…
…me mismatch (#777) * fix(blob): provide custom error for client token pathname mismatch Before this commit, you would not know why an upload or put failed when you messed up the pathname value in upload() versus the one computed when generating the client token * fix(blob): Add specific client token expired error Before this commit, it would be impossible to know that a request failed because of an expired client token * remove * fix(blob): add BlobFileTooLargeError
- Loading branch information
Showing
4 changed files
with
64 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@vercel/blob": patch | ||
--- | ||
|
||
fix(blob): provide custom errors for expired client tokens and pathname mismatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters