Malla.ServiceIdMissing exception (malla v0.1.0)

Copy Markdown View Source

Raised when a function needs the service ID and the calling process has none.

Malla.get_service_id!/1 and the functions built on it raise it. A callback called through the service sets the ID for its process; a plain function called directly, or a process you spawn, does not. Set it with Malla.put_service_id/1 or pass service_id: where the function accepts it.