Hello! I find this very interesting ... but why replace the HTTP status codes with the ApiResponse codes? Are they not descriptive enough by themselves?
Good question! It’s an optional thing. In projects I’ve used it on it did allow us to do some additional things related to business processing. In other words, they were mainly for my own use cases, you could just take that part out of it works for you.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello! I find this very interesting ... but why replace the HTTP status codes with the ApiResponse codes? Are they not descriptive enough by themselves?
Good question! It’s an optional thing. In projects I’ve used it on it did allow us to do some additional things related to business processing. In other words, they were mainly for my own use cases, you could just take that part out of it works for you.