3 Replies
you mean for this autocompletion

the docs are actually incorrect about the hook usage. OnError ctx is actually a
BetterFetchError
object. to access message and code you'll need to use ctx.error.error
objectyes, it is not in the autocomplete, but in fact it is