|
|
|
|
|
by layer8
398 days ago
|
|
When you receive an HTTP response, it can contain a status value outside the valid range as well. So you have to handle those one way or the other. Regarding the int type, a better solution would be to provide the ability to define a restricted integer type, so that the compiler can help. |
|
It’s built in validation.