mirror of
https://github.com/denoland/deno.git
synced 2025-09-24 19:32:30 +00:00
chore: replace 'call' to 'execute' in error messages (#22579)
Since both "call" and "execute" were used in error messages, I replaced them with "execute," which is more used.
This commit is contained in:
parent
f8543a9fd8
commit
84db80642a
8 changed files with 26 additions and 26 deletions
|
@ -466,7 +466,7 @@ class Request {
|
|||
}
|
||||
|
||||
clone() {
|
||||
const prefix = "Failed to call 'Request.clone'";
|
||||
const prefix = "Failed to execute 'Request.clone'";
|
||||
webidl.assertBranded(this, RequestPrototype);
|
||||
if (this[_body] && this[_body].unusable()) {
|
||||
throw new TypeError("Body is unusable.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue