Skip to Content
DevelopersError CodesCodesInternalInternal unexpected

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 code is provided to AppError.ensure().

How to handle

  • Always include a boundary meta.via so you can identify where the unknown error was caught.
  • Preserve the original error as cause where possible.
  • If this becomes frequent in one area, introduce a more specific code and document it.
Last updated on
Docsv1.0.10