You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change is large enough it can't be addressed with a simple Pull Request
Change
Error messages are formatted strings which are not uniform. While this was
okay for development, the errors should be consolidated into error codes
with a set of associated details. Further, when multiple errors are encountered
they should be aggregated together rather than simply picking the first one.
Proposed error codes:
Code
Details
Description
ATTRIBUTE_NOT_FOUND
type, attribute
Map or object access using an unknown attribute.
DIVIDE_BY_ZERO
n/a
Division by zero, also reported for modulus operations.
DUPLICATE_ATTRIBUTE
attribute name
Map or object construction supplies same key value more than once.
Issue Filing Checklist
Change
Error messages are formatted strings which are not uniform. While this was
okay for development, the errors should be consolidated into error codes
with a set of associated details. Further, when multiple errors are encountered
they should be aggregated together rather than simply picking the first one.
Proposed error codes:
ATTRIBUTE_NOT_FOUND
DIVIDE_BY_ZERO
DUPLICATE_ATTRIBUTE
IDENTIFIER_NOT_FOUND
INVALID_ARGUMENT
OVERLOAD_NOT_FOUND
TYPE_NOT_FOUND
Example
The text was updated successfully, but these errors were encountered: