Horarium icon indicating copy to clipboard operation
Horarium copied to clipboard

Add Error/Debug describers

Open alexeev-igor opened this issue 5 years ago • 0 comments

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}"

alexeev-igor avatar Jul 09 '19 12:07 alexeev-igor