Skip to content

Add Error/Debug describers #27

Open
alexeev-igor opened this issue Jul 9, 2019 · 0 comments
Open

Add Error/Debug describers #27

alexeev-igor opened this issue Jul 9, 2019 · 0 comments

Comments

@alexeev-igor
Copy link

I guess error/debug messages (like https://github.com/TinkoffCreditSystems/Horarium/blob/master/src/Horarium/Handlers/ExecutorJob.cs#L141 https://github.com/TinkoffCreditSystems/Horarium/blob/master/src/Horarium/Handlers/ExecutorJob.cs#L105 ) should be replaced with interface IErrorDescriber/IDebugDescriber with same methods instead of hard code them. Something like that:

string CreateJobError(string type) => $"Ошибка создания джоба {type}"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant