MCPcopy Create free account
hub / github.com/apache/mesos / error

Method error

src/scheduler/scheduler.cpp:553–564  ·  view source on GitHub ↗

Helper for injecting an ERROR event.

Source from the content-addressed store, hash-verified

551
552 // Helper for injecting an ERROR event.
553 void error(const string& message)
554 {
555 Event event;
556
557 event.set_type(Event::ERROR);
558
559 Event::Error* error = event.mutable_error();
560
561 error->set_message(message);
562
563 receive(event, true);
564 }
565
566 void drop(const Call& call, const string& message)
567 {

Callers

nothing calls this directly

Calls 1

receiveFunction · 0.50

Tested by

no test coverage detected