cryptic-game / cryptic-service

The offical service microservice of Cryptic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shorten the error messages

MaxiHuHe04 opened this issue · comments

Describe the feature you would like
The error message should be changed so they are as short and understandable as possible.

Is your feature request related to a problem? Please describe.
Some error messages are a bit unnecessarily long. For example you_already_own_a_service_with_this_name and there_is_an_miner_already_on_this_device. Also, the messages should follow the messages from other microservices where possible. this_device_does_not_exist should be device_not_found like in the Device microservice, and the other _does_not_exist errors should also follow this structure.

Additional context
Related to the change from sentence error messages to short error messages with underscores.