UNEXPECTED
What UNEXPECTED means, why InternalError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.
InternalErrorNot retryable
@ensforge/sdk
What happened
An unexpected error occurred.
What to show users
| Title | Message | Action |
|---|---|---|
| Something went wrong | An unexpected error occurred. | Try again. If it keeps happening, contact support. |
How to fix
If this persists, report it at https://github.com/thenamespace/ensforge/issues with the cause.
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
event.decode | for malformed logs. |
plan.get | when the storage fails. |
Any action can fail with InternalError: it is part of Errors.CommonError.
Catch it
Errors.hasCode("UNEXPECTED") narrows to this error. See Handle errors.
Was this page helpful?