Simplify ErrorsContext interface by introducing an ErrorMessage type enum with values BIND, FIELD, GLOBAL.
This allows future types to be introduced later on without breaking backword compatibility.
Description
Simplify ErrorsContext interface by introducing an ErrorMessage type enum with values BIND, FIELD, GLOBAL.
This allows future types to be introduced later on without breaking backword compatibility.