Open LWS49 opened 2 months ago
The error message is not wrong, but it could be improved to be more consistent. It is a valid issue, but fixing it is less important than the work done in the current version of the product.
Team chose [response.NotInScope
]
Reason for disagreement: [replace this with your explanation]
Invalid index
, it raised the error that no prefix is supplied (when both are missing).This is inconsistent behaviour, as when the index is negative (and therefore also invalid), the error message
Invalid index
appears.Thus, the expected behaviour is that invalid indexes are raised with higher priority compared to missing prefixes. This should be the case for indexes that are too large as well. However, missing prefixes error is raised when using an index larger than the current number of clients.