Skip to content

Graceful crash handling #131

@Shockah

Description

@Shockah

To improve user-friendliness, Nickel should have a mechanism for graceful error handling. The user should be presented with a message, that the game was about to crash.

Whether the message should include the error is to be decided - likely yes, to prevent users posting generic error screenshots containing no info whatsoever.

It's highly likely an error is not recoverable at all, or at the very least it leaves the game in a broken state. Yet, ignoring an error might be useful for mod development.

To accomodate all potential use cases, I think the actions part should be split into multiple options/buttons/levels:

  1. Action - what will be done about this error.
    • Ignore
    • Reload from last save file
    • Abandon the current run
  2. Recovery mode - how will Nickel proceed.
    • Continue (never recommended to normal users - maybe even hidden, unless Debug mode is enabled? maybe even have an extra "developer mode" setting?)
    • Close the game

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions