You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plugin loader: activate() failure wrap drops err.code — FST_ERR_DUPLICATED_ROUTE only identifiable by string-matching #599
The original error's code (FST_ERR_DUPLICATED_ROUTE) is stripped in the wrap, so callers and tests can only string-match the message to distinguish a route collision from any other activation failure.
Preserve the original error when re-wrapping: copy code onto the wrapper, or use new Error(msg, { cause: err }) so both the code and the stack survive.
Activity