Hey, I notice you are sending so errors like human readable, that is good but it doesn't scale that well because at the moment you need to know which error happened you will need to go back and use some atom or something descriptive or you will have to do some string pattern matching which is really bad.
I suggest to use atoms for identifier particular error and have some module with the mapping to human message.
Hey, I notice you are sending so errors like human readable, that is good but it doesn't scale that well because at the moment you need to know which error happened you will need to go back and use some atom or something descriptive or you will have to do some string pattern matching which is really bad.
I suggest to use atoms for identifier particular error and have some module with the mapping to human message.