Add HoistingError class

When a ValidationError is thrown, it is logged with its class name attached (via extending from ContextuaError) and then put into an error kafka topic. This could be confusing, since ValidationError specifically refers to an event failing schema validation, which hoisting isn't. However, the base ContextualError class is not exported from EventGate, so we can't extend from it. So in this patch we extend from ValidationError instead.

Bug: T391959

cc: @dr0ptp4kt

Edited by TChin

Merge request reports

Loading