Internal unexpected
Code
INTERNAL/UNEXPECTED
What it means
This is the default fallback classification for errors that cannot be mapped by known normalization rules.
When it happens
- An unknown error is normalized and no kind-rule matches.
- No explicit fallback
codeis provided toAppError.ensure().
How to handle
- Always include a boundary
meta.viaso you can identify where the unknown error was caught. - Preserve the original error as
causewhere possible. - If this becomes frequent in one area, introduce a more specific code and document it.
Last updated on