Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global error handler #66

Open
tmptrash opened this issue Nov 20, 2019 · 0 comments
Open

Add global error handler #66

tmptrash opened this issue Nov 20, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tmptrash
Copy link
Owner

tmptrash commented Nov 20, 2019

Сейчас в случае ошибки она выводится в консоль в виде исключения. Пользователь никак это не видит. Нужно придумать:

  • стандартный формат ошибок
  • выводить их пользователю

Чтобы проверить это, можно создать такую ошибку: взять и выставить параметр molAmount в значение большее, чем количество точек в мире (WORLD_WIDTH * WORLD_HEIGHT)

@tmptrash tmptrash added the bug Something isn't working label Nov 20, 2019
@tmptrash tmptrash added this to the Visualization milestone Nov 20, 2019
@tmptrash tmptrash self-assigned this Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant