diff options
author | Ian Bull <irbull@gmail.com> | 2024-09-04 00:05:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 09:05:29 +0200 |
commit | ce6b6751028bfe08b49628a30e660ff479eded02 (patch) | |
tree | b0262dcbfa8e40aca090486eab959f04ae725ffc /ext/fetch/fs_fetch_handler.rs | |
parent | 7079acd74d583a14f3c09e16f196a6851381439b (diff) |
refactor(ext/fetch): align error messages (#25374)
Aligns the error messages in the ext/fetch folder to be in-line with the
Deno style guide.
https://github.com/denoland/deno/issues/25269
Diffstat (limited to 'ext/fetch/fs_fetch_handler.rs')
-rw-r--r-- | ext/fetch/fs_fetch_handler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/fs_fetch_handler.rs b/ext/fetch/fs_fetch_handler.rs index 6f45ee664..4c2b81f35 100644 --- a/ext/fetch/fs_fetch_handler.rs +++ b/ext/fetch/fs_fetch_handler.rs @@ -43,7 +43,7 @@ impl FetchHandler for FsFetchHandler { Ok::<_, ()>(response) } .map_err(move |_| { - type_error("NetworkError when attempting to fetch resource.") + type_error("NetworkError when attempting to fetch resource") }) .or_cancel(&cancel_handle) .boxed_local(); |