Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Import FetchError type - Nuxt
N
Nuxt
•
10mo ago
•
4 replies
Mole
Import FetchError type
Hi
! What is the current method of importing
FetchError
FetchError
type
?
Ref
:
❓・help
FetchError type
Ref
:
https://github.com/nuxt/nuxt/issues/26628
I do not think
FetchError
FetchError
should be imported from
ofetch
ofetch
. Using error type from package may fail
instanceof
instanceof
. It is also explicitly recommended to use
$fetch
$fetch
instead of importing from
ofetch
ofetch
.
Nuxt
Join
Nuxt Community Chat Server
31,665
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
FetchError type
N
Nuxt / ❓・help
2y ago
Change type of typed params
N
Nuxt / ❓・help
17mo ago
Nuxt UI 4 + Nuxt v4 import type issue
N
Nuxt / ❓・help
6mo ago
`Parsing error: Unexpected token {eslint` on import type
N
Nuxt / ❓・help
11mo ago