registerOnErrorUpdate static method

void registerOnErrorUpdate(
  1. void callback(
    1. GemError error
    )?
)

Register a callback to be called when a mew error is received

Implementation

static void registerOnErrorUpdate(
  final void Function(GemError error)? callback,
) {
  ApiErrorServiceImpl.registerOnErrorUpdate(callback);
}